Mr.Shi
2023-09-05 3878c57a2bd710295931303ea85439a596838dfd
minipro_standard/pages/workbench/workbench.vue
@@ -31,68 +31,18 @@
      computed: mapState([
         'Menu'
      ]),
      onReady() {
         console.log(this.Menu)
      },
      data() {
         return {
            list: [
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               },
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               },
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               },
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               },
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               },
               {
                  icon: require('@/static/logo@2x.png'),
                  label: '测试'
               }
            ]
         };
      },
      onLoad() {
         uni.hideTabBar()
         // uni.login({
         //    success: data => {
         //       this.wxLogin(data.code)
         //    },
         //    fail: err => {
         //       uni.$u.toast(err)
         //    }
         // })
      },
      methods: {
         // wxLogin(code) {
         //    wxEmpower({code})
         //       .then(res => {
         //          this.openId = res.openid
         //          if (res.userInfo) {
         //             this.$store.commit('SETTOKEN', res.userInfo.token)
         //             this.$store.commit('SETUSERINFO', res.userInfo)
         //             uni.navigateTo({
         //                url:'/pages/projectList/projectList'
         //             })
         //          }
         //       })
         //       .catch(err => {
         //          uni.$u.toast(err)
         //       })
         // }
         jump(row) {
            console.log(row)
         }
      }
   }
</script>