|
|
@ -57,6 +57,7 @@ const isDisabled = ref(true) // 为 true 时,表示用户可以点击,反之 |
|
|
|
const seconds = ref(0) |
|
|
|
const success = ref(() => {}) |
|
|
|
const version = ref('') |
|
|
|
const modal = ref(null) |
|
|
|
// onMounted(() => { |
|
|
|
// const systemInfo = uni.getSystemInfoSync() |
|
|
|
// // #ifdef H5 |
|
|
@ -95,6 +96,9 @@ const confirmClose = () => { |
|
|
|
if (show.value) { |
|
|
|
show.value = false |
|
|
|
clearInterval(timer.value) // 清空timer |
|
|
|
if(modal.value){ |
|
|
|
modal.value.popupClose() |
|
|
|
} |
|
|
|
success.value({ |
|
|
|
// cancel: false, |
|
|
|
confirm: true |
|
|
|