This commit is contained in:
xiaozhiyong
2023-03-28 09:03:40 +08:00
parent 21a3701c47
commit 8a777abcff

View File

@@ -153,11 +153,6 @@
},
jump(e) {
console.log(e.router)
uni.navigateTo({
url: e.router,
})
return
if (this.user.authList.includes(e.lable)) {
uni.navigateTo({
url: e.router,
@@ -201,10 +196,8 @@
this.$set(this.collection,isHaveEmptyIndex,item)
return
}
if(this.collection.length === 3) {
//如果收藏满了 栈底推出
this.collection.pop()
}
//如果收藏满了 栈底推出
this.collection.pop()
//栈顶推入
this.collection.unshift(item)
},