diff --git a/唐山清任体检小程序/pages.json b/唐山清任体检小程序/pages.json index 7143e55..8fd29d9 100644 --- a/唐山清任体检小程序/pages.json +++ b/唐山清任体检小程序/pages.json @@ -2,7 +2,7 @@ "pages": [{ "path": "pages/main/home/home", "style": { - "navigationBarTitleText": "岚科体检", + "navigationBarTitleText": "唐山清任中西医结合医院", "enablePullDownRefresh": false } }, { diff --git a/唐山清任体检小程序/pages/user/edit/edit.vue b/唐山清任体检小程序/pages/user/edit/edit.vue index 8380c6b..298d193 100644 --- a/唐山清任体检小程序/pages/user/edit/edit.vue +++ b/唐山清任体检小程序/pages/user/edit/edit.vue @@ -198,6 +198,13 @@ } const saveClick = async () => { + if(user_person_info.value.id_number.length != 18){ + uni.showToast({ + title: "请输入18位身份证号码", + icon:'none' + }) + return false; + } if(tongyi.value!='tongyi'){ uni.showToast({ title: "请阅读并同意用户协议",