From 491dfbf34606c4f421953b2c1924cf448393130e Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 10:38:26 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/pages/webView/index.js | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/pages/webView/index.js b/wechat_jiaxuan/pages/webView/index.js
index e0ab7d4..5c21ada 100644
--- a/wechat_jiaxuan/pages/webView/index.js
+++ b/wechat_jiaxuan/pages/webView/index.js
@@ -12,9 +12,8 @@
link: ''
},
onLoad: function (options) {
- let that = this
- const eventChannel = this.getOpenerEventChannel()
-
+ let that = this
+ const eventChannel = this.getOpenerEventChannel()
eventChannel.on('acceptDataFromOpenerPage', function(data) {
console.log('鍙傛暟', data)
if (data.title) wx.setNavigationBarTitle({ title: data.title })
--
Gitblit v1.9.3