更新
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user