From c2d58f54486a3035bfa4994ed5c2d45b67ce9654 Mon Sep 17 00:00:00 2001 From: sjf1256754123 <33301030+sjf1256754123@users.noreply.github.com> Date: Sat, 15 Feb 2020 23:38:35 +0800 Subject: [PATCH] demo --- pages/fillIn/fillIn.vue | 4 ---- pages/index/index.vue | 9 ++++++++- pages/security/security.vue | 3 +-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pages/fillIn/fillIn.vue b/pages/fillIn/fillIn.vue index b843900..8a099ec 100644 --- a/pages/fillIn/fillIn.vue +++ b/pages/fillIn/fillIn.vue @@ -2011,7 +2011,6 @@ } // 复选框展示和隐藏 if (type === 'pickerMore') { - console.log(evt) const nullList = ['无上述情况','以上均无'] const checkList = item.opts let val = evt.detail.value; @@ -2038,7 +2037,6 @@ }, isShowChild() { - console.log(this.form['returnToWork']) this.list[10].hidden = this.form['returnToWork'] == 'a' }, @@ -2051,7 +2049,6 @@ }, // 更新下拉框绑定的表单内容 updatePickerVal(event, item) { - console.log(event) const opts = item.opts const prop = item.value const val = event.detail.value @@ -2072,7 +2069,6 @@ }, // 提交信息 formSubmit() { - console.log(this.form) let flag = true let msg = '' for (let i = 0; i < this.list.length; i++) { diff --git a/pages/index/index.vue b/pages/index/index.vue index b1ec53e..3d0405e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -5,6 +5,7 @@ + {{option.userId?option.userId:'无'}} 入园请向门卫出示健康码 @@ -18,9 +19,15 @@ components: {}, name: "home", data() { - return {}; + return { + option:{ + userId:'' + } + }; }, onLoad: function(option) { + console.log(option) + this.option = option let that = this // #ifdef MP-WEIXIN wx.login({ diff --git a/pages/security/security.vue b/pages/security/security.vue index 2e702a7..83d4a94 100644 --- a/pages/security/security.vue +++ b/pages/security/security.vue @@ -34,7 +34,7 @@ }; }, onLoad: function(option) { - + console.log(option) }, onShow() {}, methods: { @@ -51,7 +51,6 @@ }).catch(err => { console.log(err) }) - }, // 体温异常 abnormal() { -- 2.22.0