Fix:省市区无法选中
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
<CitySelect
|
||||
ref="cityselect"
|
||||
:disabled="form.isDraft === 0 && (form.reviewStatus === 0 || form.reviewStatus === 1)"
|
||||
:defaultValue="form.area || '请选择地址'"
|
||||
:defaultValue="form.area || '请选择'"
|
||||
:items="district"
|
||||
@callback="resultCity"
|
||||
/>
|
||||
@@ -427,7 +427,7 @@ export default {
|
||||
}
|
||||
saveTravelDraft(params).then(res => {
|
||||
if (res.status === 200) {
|
||||
uni.$u.toast('草稿保存成功')
|
||||
// uni.$u.toast('草稿保存成功')
|
||||
}
|
||||
}).catch(err => {
|
||||
uni.$u.toast(err.msg)
|
||||
@@ -450,7 +450,7 @@ export default {
|
||||
this.form.reviewStatus = res.data.reviewStatus
|
||||
this.form.reviewMsg = res.data.reviewMsg
|
||||
this.form.isDraft = res.data.isDraft
|
||||
this.form.area = `${this.form.provinceName || ''} ${this.form.cityName || ''} ${this.form.areaName || ''}`
|
||||
this.form.area = `${this.form.provinceName || ''} ${this.form.cityName || ''} ${this.form.areaName || ''}`.trim()
|
||||
this.captcha = travelInfo.captcha
|
||||
}
|
||||
}).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user