Kaynağa Gözat

优化脚本

shish 1 ay önce
ebeveyn
işleme
9be1abc5f6

+ 1 - 7
hdApp/src/admin/home/components/purchase-ghs-panel.vue

@@ -41,8 +41,6 @@
             </view>
           </view>
 
-          <view v-if="!$util.isEmpty(data.warning)" @click.stop="goWarning(data)" class="warning-banner">{{ data.warning }}</view>
-
           <template v-if="!$util.isEmpty(ad)">
             <block v-for="(adInfo, adIndex) in ad" :key="adIndex">
               <view class="ad-wrap" @click.stop="pageTo({ url: adInfo.url })">
@@ -370,11 +368,7 @@ export default {
       // #ifdef MP-WEIXIN
       this.isMini = 1
       // #endif
-      consoleIndex({ isMini: this.isMini }).then(res => {
-        if (res && res.data) {
-          this.data = Object.assign({}, this.data, res.data)
-        }
-      })
+
       this.showShopName()
       return this.getGHSList().then(() => {
         this.refreshPendingInviteUI()