去掉自动关闭

去掉自动关闭
This commit is contained in:
471615499@qq.com 2024-11-11 12:27:39 +08:00
parent b72e9574e7
commit e6364b71b2

View File

@ -90,15 +90,15 @@ Page({
}).then(() => { }).then(() => {
// on close // on close
}) })
let count = 5 // let count = 5
const countdown = setInterval(() => { // const countdown = setInterval(() => {
if (count > 0) { // if (count > 0) {
count--; // count--;
} else { // } else {
Dialog.close() // Dialog.close()
clearInterval(countdown); // clearInterval(countdown);
} // }
}, 1000) // }, 1000)
let _this = this let _this = this
let userDetail = wx.getStorageSync('user') let userDetail = wx.getStorageSync('user')