From 1d6228281b48be3e0edf9d808b5c743ea24df53a Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 11 八月 2023 16:31:31 +0800 Subject: [PATCH] no message --- uniapp/pages/index/index.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/uniapp/pages/index/index.vue b/uniapp/pages/index/index.vue index 65d18af..0dcdf83 100644 --- a/uniapp/pages/index/index.vue +++ b/uniapp/pages/index/index.vue @@ -145,7 +145,7 @@ onLoad() { this.getCategoryList(); this.getCusPopupInfo(); - + this.getArgument(); }, onShow() { if (!this.hasshow) { @@ -164,7 +164,15 @@ }, watch: {}, methods: { - + getArgument() + { + var arg=getApp().globalData.argumentStr; + if(arg&&arg.length>0) + { + getApp().targetArgument(arg); + getApp().globalData.argumentStr=""; + } + }, shShow() { var that = this; var istoLogin = true; -- Gitblit v1.9.3