Browse Source

选择医院bug处理

dev
kola-web 5 days ago
parent
commit
0de235c1aa
  1. 3
      src/patient/pages/medical/index.ts

3
src/patient/pages/medical/index.ts

@ -204,11 +204,12 @@ Page({ @@ -204,11 +204,12 @@ Page({
},
handleHosSure() {
const { hostipalList, hIndex } = this.data
if (!hIndex) {
if (hIndex === '') {
wx.showToast({
icon: 'none',
title: '请选择医院',
})
return
}
const hItem = hostipalList[hIndex]
this.setData({

Loading…
Cancel
Save