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