This commit is contained in:
haomingming
2023-05-09 15:04:05 +08:00
parent 7b9b80be8d
commit 807698b89f
53 changed files with 896 additions and 222 deletions
+3 -6
View File
@@ -1,5 +1,3 @@
import _console from "../TUIKit/utils/console"
// custom-tab-bar/index.js
const app = getApp()
Component({
@@ -62,17 +60,16 @@ Component({
info_inter: 0
},
ready() {
console.log("readyreadyreadyreadyreadyready")
const usertype = wx.getStorageSync('usertype')
if (usertype == 2) {
if (usertype == 3) {
this.setData({
usertype: usertype,
items: this.data.listAll.list2
items: this.data.listAll.list1
})
}else{
this.setData({
usertype: usertype,
items: this.data.listAll.list1
items: this.data.listAll.list2
})
}