Compare commits
2 Commits
3d98a1b9d7
...
2a277d1388
Author | SHA1 | Date | |
---|---|---|---|
|
2a277d1388 | ||
|
890d4436d9 |
@ -23,14 +23,13 @@ const player = ref(null)
|
|||||||
const {quoteStatus, show, playerId, show1, auctionData, getSocketData, getLiveLink, fullLive} = liveStore()
|
const {quoteStatus, show, playerId, show1, auctionData, getSocketData, getLiveLink, fullLive} = liveStore()
|
||||||
const pullLink = ref('')
|
const pullLink = ref('')
|
||||||
const handlePlayerError = (error) => {
|
const handlePlayerError = (error) => {
|
||||||
// showConfirmDialog({
|
showConfirmDialog({
|
||||||
// message: t('live_room.error_mess'),
|
message: t('live_room.error_mess'),
|
||||||
// showCancelButton: true
|
showCancelButton: true
|
||||||
// }).then(() => {
|
}).then(() => {
|
||||||
// initializePlayer()
|
initializePlayer()
|
||||||
// }).catch(() => {
|
}).catch(() => {
|
||||||
// })
|
})
|
||||||
// player.value?.play()
|
|
||||||
}
|
}
|
||||||
const loading1=ref(false)
|
const loading1=ref(false)
|
||||||
const initializePlayer = async () => {
|
const initializePlayer = async () => {
|
||||||
@ -87,13 +86,13 @@ const initializePlayer = async () => {
|
|||||||
})
|
})
|
||||||
player.value.on('error', handlePlayerError)
|
player.value.on('error', handlePlayerError)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
// showConfirmDialog({
|
showConfirmDialog({
|
||||||
// message: t('live_room.error_mess'),
|
message: t('live_room.error_mess'),
|
||||||
// showCancelButton: true
|
showCancelButton: true
|
||||||
// }).then(() => {
|
}).then(() => {
|
||||||
// initializePlayer()
|
initializePlayer()
|
||||||
// }).catch(() => {
|
}).catch(() => {
|
||||||
// })
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ const router = useRouter();
|
|||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const { locale } = useI18n()
|
const { locale } = useI18n()
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
keepalive: true,
|
name: 'login',
|
||||||
i18n: 'login.title'
|
i18n: 'login.title'
|
||||||
})
|
})
|
||||||
const loadingRef=ref({
|
const loadingRef=ref({
|
||||||
|
@ -4,7 +4,7 @@ import { contractView } from "~/api/goods/index.js"
|
|||||||
import { signOnline } from "~/api/goods/index.js"
|
import { signOnline } from "~/api/goods/index.js"
|
||||||
import { authStore } from "~/stores/auth/index.js"
|
import { authStore } from "~/stores/auth/index.js"
|
||||||
import {useI18n} from "vue-i18n";
|
import {useI18n} from "vue-i18n";
|
||||||
|
import { useThrottleFn } from '@vueuse/core'
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
layout: 'default',
|
layout: 'default',
|
||||||
i18n: 'signature.protocol.title'
|
i18n: 'signature.protocol.title'
|
||||||
@ -46,7 +46,7 @@ const handleCollapseChange = (name) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const goSignature = async () => {
|
const goSignature =useThrottleFn(async () => {
|
||||||
const res = await signOnline({
|
const res = await signOnline({
|
||||||
auctionArtworkUuid:payment.value.auctionArtworkUuid
|
auctionArtworkUuid:payment.value.auctionArtworkUuid
|
||||||
})
|
})
|
||||||
@ -64,7 +64,7 @@ const goSignature = async () => {
|
|||||||
// router.push({
|
// router.push({
|
||||||
// path: '/signature/panel'
|
// path: '/signature/panel'
|
||||||
// })
|
// })
|
||||||
}
|
},2000)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -153,7 +153,7 @@ export default defineNuxtConfig({
|
|||||||
// 指定 Nuxt 应用程序的兼容性日期,确保应用程序在未来的 Nuxt 版本中保持稳定性
|
// 指定 Nuxt 应用程序的兼容性日期,确保应用程序在未来的 Nuxt 版本中保持稳定性
|
||||||
compatibilityDate: '2025-02-28',
|
compatibilityDate: '2025-02-28',
|
||||||
devServer: {
|
devServer: {
|
||||||
// https: httpsOptions,
|
https: httpsOptions,
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 3000,
|
port: 3000,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user