【fix】优化代码

This commit is contained in:
黄少君
2024-02-22 18:37:23 +08:00
parent 17c043348a
commit f8fac0a5bc
246 changed files with 973 additions and 406 deletions

View File

@ -114,6 +114,7 @@ const isActivity = computed(() => {
background: $white-color;
font-weight: 500;
font-size: 32rpx;
word-break: break-all;
}
.label-row {

View File

@ -8,9 +8,9 @@
<script setup>
import { computed, nextTick, onBeforeUnmount, onMounted, ref, toRefs, unref, watch } from "vue";
import { getTimeAfterNow } from "@/utils/utils";
import { useMainStore } from "@/store/store";
import { useMainStore } from "@/store/modules/useMainStore";
import { useInterface } from "@/hooks/useInterface";
import {handleLoginFailure} from "@/utils";
import { handleLoginFailure } from "@/utils";
const emits = defineEmits(["activeListItemTimeOver", "doGroupBy"])
@ -54,7 +54,7 @@ const {toast} = useInterface();
const mainStore = useMainStore()
function handleGoGroupBy(order) {
if(!mainStore.user){
if (!mainStore.user) {
handleLoginFailure()
return
}