From d3009fb2a181b7c78ed24e27b5d450a7ad1fa386 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 23 十一月 2023 16:33:06 +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..96d12ea 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