pull/2/head
xiaozhiyong 2 years ago
parent 21a3701c47
commit 8a777abcff
  1. 11
      pages/index/newindex.vue

@ -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)
}, },

Loading…
Cancel
Save