修改handArea
This commit is contained in:
@@ -119,6 +119,13 @@ export default {
|
||||
async initArea () {
|
||||
let res = await handArea('1')
|
||||
if (res.code === '1') {
|
||||
// if (res.result.length > 0) {
|
||||
// res.result.map(el => {
|
||||
// if (el.region_code !== '5') {
|
||||
// this.areaArr.push(el)
|
||||
// }
|
||||
// })
|
||||
// }
|
||||
this.areaArr = [...res.result]
|
||||
this.areaArr.map(el => {
|
||||
this.$set(el, 'checked', false)
|
||||
|
||||
Reference in New Issue
Block a user