Merge branch 'main' of https://git.hn12301.net/xuchao/pingxiangcard
This commit is contained in:
@@ -238,9 +238,6 @@ let countdownTimer: ReturnType<typeof setInterval> | null = null
|
||||
|
||||
onUnmounted(() => {
|
||||
clearTimer()
|
||||
// #ifdef MP-WEIXIN
|
||||
wx.offUserCaptureScreen()
|
||||
// #endif
|
||||
})
|
||||
|
||||
const records = ref<ReserveRecord[]>([])
|
||||
@@ -303,15 +300,6 @@ async function fetchRecords(append = false) {
|
||||
}
|
||||
|
||||
onLoad(() => {
|
||||
// #ifdef MP-WEIXIN
|
||||
wx.setVisualEffectOnCapture({ visualEffect: 'hidden' })
|
||||
wx.onUserCaptureScreen(() => {
|
||||
uni.showToast({ title: '该页面截图无效,请不要截图', icon: 'none' })
|
||||
if (currentRecord.value) {
|
||||
fetchCode(currentRecord.value)
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
fetchRecords()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user