【fix】优化代码
This commit is contained in:
@ -114,6 +114,7 @@ const isActivity = computed(() => {
|
||||
background: $white-color;
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.label-row {
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user