Commit bd68d7fc authored by 罗超's avatar 罗超

submit

parent 456b9e66
......@@ -113,7 +113,7 @@
<div>目的地信息</div>
<i class="el-icon-circle-plus addlist" @click="clickArea(0, 1)"></i>
</div>
<div class="relative" v-for="(item, index) in addMsg.areaList" :key="index">
<div class="relative" v-for="(item, index) in addMsg.DestinationList" :key="index">
<span>{{item.Name}}</span>
<i class="el-icon-delete addlist" @click="clickArea(index)"></i>
</div>
......@@ -202,7 +202,7 @@ import uploadImg from '../../pubComponents/uploadImg'
Month: '',
Description: ''
}],
areaList: [],
DestinationList: [],
},
AreaList: [], //地区列表
}
......@@ -337,7 +337,7 @@ import uploadImg from '../../pubComponents/uploadImg'
if (type) {
this.areaVisible = true
} else {
this.addMsg.areaList.splice(index, 1)
this.addMsg.DestinationList.splice(index, 1)
}
},
clickTime(index, type) {
......@@ -349,7 +349,7 @@ import uploadImg from '../../pubComponents/uploadImg'
},
addArea() {
if(this.areaInfo) {
this.addMsg.areaList.push(this.areaInfo)
this.addMsg.DestinationList.push(this.areaInfo)
}
console.log('addArea', this.areaInfo, this.addMsg)
this.areaInfo = 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