From 0bf139554d19e520522e9ef927f9ea475da02bd6 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 22 十一月 2023 18:59:40 +0800 Subject: [PATCH] # --- pages/business/plan/planDetails.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/business/plan/planDetails.vue b/pages/business/plan/planDetails.vue index 4a4f5b4..0f88b35 100644 --- a/pages/business/plan/planDetails.vue +++ b/pages/business/plan/planDetails.vue @@ -120,13 +120,15 @@ } }, onLoad(option) { - if (option != '') { + console.log(option); + if (JSON.stringify(option) != "{}") { this.id = option.id this.init() } else { let _this = this const eventChannel = this.getOpenerEventChannel(); eventChannel.on('saleManage', function(data) { + console.log(data); _this.id = data.data _this.init() }) -- Gitblit v1.9.1