From b0f74f3f5eab41ac3d3eec497b458c1aa716c0e9 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 09:22:50 +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