购物车修改

This commit is contained in:
GaoHao
2024-09-27 15:28:37 +08:00
parent 587fa3a620
commit a3e1d951e6
10 changed files with 4528 additions and 845 deletions

View File

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