|
|
|
@ -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({ |
|
|
|
|