Commit bd68d7fc authored by 罗超's avatar 罗超

submit

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