广告弹窗相关更新

This commit is contained in:
GaoHao
2024-08-28 17:07:13 +08:00
parent 244e7bc736
commit c2ff506543
8 changed files with 19 additions and 8 deletions

View File

@@ -53,6 +53,7 @@
},
watch: {
forceUpdate(val,oldval) {
console.log(val,oldval)
// 在 forceUpdate 改变时执行更新操作
let time = uni.cache.get('popUpTime') ? new Date().getTime() - uni.cache.get('popUpTime') : 1000;
if ( time >= 1000 ) {