From 9c34e8cc2ff136db5c27a5adc2eb2e140ac0580a Mon Sep 17 00:00:00 2001 From: whycq <you@example.com> Date: 星期日, 01 一月 2023 06:17:15 +0800 Subject: [PATCH] # --- pages/business/cstmr/cstmrDetails.vue | 17 ++++------------- 1 files changed, 4 insertions(+), 13 deletions(-) diff --git a/pages/business/cstmr/cstmrDetails.vue b/pages/business/cstmr/cstmrDetails.vue index 76ed48a..1bf8a5d 100644 --- a/pages/business/cstmr/cstmrDetails.vue +++ b/pages/business/cstmr/cstmrDetails.vue @@ -63,13 +63,12 @@ data() { return { id: 0, - baseUrl: '', cstmr: { id: '', - name: '娌冲寳鍚涢偊涔充笟鏈夐檺鍏徃', - tel: '15067665399', - addr: '娌冲寳鐪侀偗閮稿競鍚涢偊涔充笟鏈夐檺鍏徃', - cstman: '鏈辨槑蹇�' + name: '', + tel: '', + addr: '', + cstman: '' }, addFollower: { follower: '', @@ -82,14 +81,11 @@ }, onLoad(option) { this.id = option.id - this.baseUrl = uni.getStorageSync('baseUrl') this.init() this.autoLoad('follower','') setTimeout(()=>{ this.getFollowers() },500) - - }, methods: { init() { @@ -115,7 +111,6 @@ data: {ids: ids}, method: 'POST', success(res) { - console.log(res); res = res.data if (res.code === 200) { uni.navigateBack() @@ -157,7 +152,6 @@ success(result) { var res = result.data that.getFollowers() - console.log(res); } }) this.addFollower.follower = '' @@ -174,7 +168,6 @@ method: 'POST', success(result) { var res = result.data - console.log(res); if (res.code === 200) { var element; if (type == 'follower') { @@ -203,7 +196,6 @@ }, removeFollowers(userId) { let that = this - console.log(that.cstmrId); uni.request({ url: that.baseUrl + '/cstmr/followers/remove/auth', header:{ @@ -218,7 +210,6 @@ success(res) { res = res.data that.getFollowers() - console.log(res); } }) } -- Gitblit v1.9.1