Commit 9d40d2e0 authored by dragondean@qq.com's avatar dragondean@qq.com

修复选择渠道后目的城市被重置

parent 933f641d
......@@ -952,7 +952,7 @@ export default {
// 更新目的城市备选
await this.getTradeCity()
// 如果已选择城市,在切换后不可用则重置
if(this.form.objectiveId && !this.importList.find(item => item.id == this.form.objectiveId)){
if(this.form.objectiveId && !this.importCityList.find(item => item.id == this.form.objectiveId)){
this.$set(this.form, 'objectiveId', null)
}
// 更新线路备选
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment