From 0c93bbe8fa09aeb531fb705cb55bbccb5f4ee7e2 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 24 十二月 2024 10:54:04 +0800 Subject: [PATCH] json题干优化 --- packageDomain/pages/teacherCertification/index.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/packageDomain/pages/teacherCertification/index.js b/packageDomain/pages/teacherCertification/index.js index 1285add..a5d6c50 100644 --- a/packageDomain/pages/teacherCertification/index.js +++ b/packageDomain/pages/teacherCertification/index.js @@ -142,8 +142,9 @@ }) this.newGetTeacherInfo() }) - }, + + //鑾峰彇鏁欏笀鐘舵�� newGetTeacherInfo() { let that = this; @@ -574,6 +575,14 @@ }) return } + if (!that.data.teacherInfo.detailedAddress) { + wx.showToast({ + title: "璇峰~鍐欒缁嗗湴鍧�锛�", + icon: 'none', + duration: 1000, + }) + return + } if (that.data.imgPics.length == 0) { wx.showToast({ title: "璇蜂笂浼犲伐浣滆瘉锛�", @@ -689,7 +698,6 @@ if (!this.data.isIos === 'ios') { return } - // 閿洏楂樺害 const height = e.detail.height; const className = e.target.dataset.class; @@ -750,6 +758,9 @@ } catch (error) {} } }, + changeParam(e) { + this.scrollToInput(0); + }, /** * 椤甸潰涓婃媺瑙﹀簳浜嬩欢鐨勫鐞嗗嚱鏁� */ -- Gitblit v1.9.1