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({
}, },
handleHosSure() { handleHosSure() {
const { hostipalList, hIndex } = this.data const { hostipalList, hIndex } = this.data
if (!hIndex) { if (hIndex === '') {
wx.showToast({ wx.showToast({
icon: 'none', icon: 'none',
title: '请选择医院', title: '请选择医院',
}) })
return
} }
const hItem = hostipalList[hIndex] const hItem = hostipalList[hIndex]
this.setData({ this.setData({

Loading…
Cancel
Save