diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue index e364535..db567a2 100644 --- a/app/pages/login/index.vue +++ b/app/pages/login/index.vue @@ -11,7 +11,7 @@ const router = useRouter(); const route = useRoute(); const { locale } = useI18n() definePageMeta({ - keepalive: true, + name: 'login', i18n: 'login.title' }) const loadingRef=ref({ diff --git a/app/pages/signature/protocol/index.vue b/app/pages/signature/protocol/index.vue index 92a38e9..cbbb5a6 100644 --- a/app/pages/signature/protocol/index.vue +++ b/app/pages/signature/protocol/index.vue @@ -4,7 +4,7 @@ import { contractView } from "~/api/goods/index.js" import { signOnline } from "~/api/goods/index.js" import { authStore } from "~/stores/auth/index.js" import {useI18n} from "vue-i18n"; - +import { useThrottleFn } from '@vueuse/core' definePageMeta({ layout: 'default', i18n: 'signature.protocol.title' @@ -46,7 +46,7 @@ const handleCollapseChange = (name) => { } } -const goSignature = async () => { +const goSignature =useThrottleFn(async () => { const res = await signOnline({ auctionArtworkUuid:payment.value.auctionArtworkUuid }) @@ -64,7 +64,7 @@ const goSignature = async () => { // router.push({ // path: '/signature/panel' // }) -} +},2000)