修改地区选择控件

fix/0521-ch
ch 3 years ago
parent 34738ab641
commit 0bdeb7e67e

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-29 16:05:06
* @LastEditors: ch
* @LastEditTime: 2022-05-21 18:18:42
* @LastEditTime: 2022-05-21 20:04:47
* @Description: file content
-->
<template>
@ -87,11 +87,11 @@ export default {
if(val.columnIndex == 2){
return;
}
let newIndexs = [val.index, 0, 0];
if(val.columnIndex == 1){
let newIndexs = val.indexs;
newIndexs[2] = 0;
let newIndexs = val.indexs;
if(val.columnIndex == 0){
newIndexs[1] = 0;
}
newIndexs[2] = 0;
this.defaultIndex = newIndexs;
const city = val.value[0].children;

Loading…
Cancel
Save