From bd78f525037c2a98d08666fc3465f717f29e6e66 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 22 十月 2024 10:07:51 +0800 Subject: [PATCH] wendang --- 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