Explorar o código

空数据问题开始

shish %!s(int64=4) %!d(string=hai) anos
pai
achega
c073f52802

+ 1 - 3
hdApp/src/admin/home/member.vue

@@ -110,9 +110,7 @@ export default {
   },
   methods: {
     init() {
-      if(!this.AUTHORITY_SHOW) {
-        this._list();
-      }
+      this._list();      
     },
     // 列表
     _list() {

+ 5 - 2
hdApp/src/admin/home/order.vue

@@ -140,9 +140,9 @@ export default {
   },
   methods: {
     init () {
-      if(!this.AUTHORITY_SHOW) {
+
         this._list();
-      }
+      
     },
     _list () {
       let status = JSON.parse(JSON.stringify(this.tabIndex));
@@ -151,6 +151,9 @@ export default {
         search: "",
         page: this.list.page
       }).then(res => {
+        console.log('1111')
+        console.log(res)
+        console.log('2222')
         this.completes(res);
         if (this.$util.isEmpty(res.data)){
           return false

+ 0 - 4
hdApp/src/admin/home/workbench.vue

@@ -172,10 +172,6 @@ export default {
     uni.stopPullDownRefresh();
   },
   onShow () {
-    if(!this.$util.isEmpty(this.loginInfo) && this.loginInfo.shopAdminId == '0') {
-      this.AUTHORITY_SHOW = true
-      uni.hideTabBar()
-    }
   },
   methods: {
     goPage (item) {

+ 0 - 1
hdApp/src/mixins/globalMixins.js

@@ -15,7 +15,6 @@ export default {
 			$util: this.$util,
 			// 全局混入,插入全局跳转函数
 			pageTo: pageTo,
-			AUTHORITY_SHOW: false,
 			shopAdminId: null,
 			MODEL_TITLE: '',
 			EXPER_AUTH_SHOW: false