From 81ea5bc4134ec65263adcd340a4534685e8f36c3 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 20 十一月 2023 17:05:45 +0800 Subject: [PATCH] # --- pages/business/saleManage/cstmrDetls.vue | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pages/business/saleManage/cstmrDetls.vue b/pages/business/saleManage/cstmrDetls.vue index 7045861..c71413a 100644 --- a/pages/business/saleManage/cstmrDetls.vue +++ b/pages/business/saleManage/cstmrDetls.vue @@ -77,9 +77,9 @@ } }, onLoad(option) { - - if (option == '') { - console.log(option); + console.log('寮�濮�'); + if (JSON.stringify(option) != "{}") { + console.log('pd1'); this.id = option.id this.init() this.autoLoad('follower','') @@ -87,15 +87,17 @@ this.getFollowers() },500) } else { + console.log('cd2'); let _this = this const eventChannel = this.getOpenerEventChannel(); eventChannel.on('cstmr', function(data) { _this.id = data.data - console.log(data.data); + _this.init() }) - this.init() + this.autoLoad('follower','') setTimeout(()=>{ + this.getFollowers() },500) } -- Gitblit v1.9.1