From b26da15df0f71a11e7d04abd0aa2284d8b8cdef0 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 24 七月 2024 17:22:21 +0800
Subject: [PATCH] 提交
---
wechat_staff/pages/webView/index.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/wechat_staff/pages/webView/index.js b/wechat_staff/pages/webView/index.js
index 530c487..5f082d8 100644
--- a/wechat_staff/pages/webView/index.js
+++ b/wechat_staff/pages/webView/index.js
@@ -16,7 +16,7 @@
const eventChannel = this.getOpenerEventChannel()
if (options.link) {
- that.setData({ link: options.link, id: options.id })
+ that.setData({ link: options.link, id: options.id || '' })
} else {
// 鐩戝惉acceptDataFromOpenerPage浜嬩欢锛岃幏鍙栦笂涓�椤甸潰閫氳繃eventChannel浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
eventChannel.on('acceptDataFromOpenerPage', function(data) {
--
Gitblit v1.9.3