#
whycq
2023-11-22 3913b3c5c8cde03f8c92d1c738d28c4a9bae7e55
pages/business/cstmr/cstmrDetails.vue
@@ -62,7 +62,7 @@
      </scroll-view>
      <view class="foot">
         <button  size="mini" type="primary" @click="edite(id)">修改</button>
         <button  size="mini" type="warn" @click="del(id)">删除</button>
         <button  size="mini" type="warn" @click="del(id)" v-show="isDel">删除</button>
      </view>
      
      <!-- 输入框示例 -->
@@ -96,10 +96,14 @@
               followerList: []
            },
            followers: [],
            cstmrId: ''
            cstmrId: '',
            isDel: true
         }
      },
      onLoad(option) { 
         if (option.type == 'info') {
            this.isDel = false
         }
         this.id = option.id
         this.init()
         this.autoLoad('follower','')
@@ -140,9 +144,7 @@
               header: {'token' : uni.getStorageSync('token'),
               },
               method: 'GET',
               success(res) {
                  console.log(res);
                  res = res.data
                  if (res.code === 200) {
                     uni.navigateBack()