修改handArea

This commit is contained in:
2022-06-28 19:07:35 +08:00
parent be4bc2dbda
commit 6714c8c8e5
2 changed files with 111 additions and 7 deletions

View File

@@ -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)