From e6a02c8b09a796e436a501e9b87d19e25c34c9d1 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期日, 07 四月 2024 15:53:37 +0800
Subject: [PATCH] #
---
pages/business/cstmr/cstmrDetails.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/pages/business/cstmr/cstmrDetails.vue b/pages/business/cstmr/cstmrDetails.vue
index 1e89c9c..a69ba8c 100644
--- a/pages/business/cstmr/cstmrDetails.vue
+++ b/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()
--
Gitblit v1.9.1