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