Commit a94c2e10 authored by 张子雨's avatar 张子雨

feat: 优化

parent 60b4f8ee
...@@ -42,7 +42,6 @@ const AddAreaModal = props => { ...@@ -42,7 +42,6 @@ const AddAreaModal = props => {
}; };
const onChange = (value, selectedOptions) => { const onChange = (value, selectedOptions) => {
// console.log(selectedOptions)
setSelect([...selectedOptions]); setSelect([...selectedOptions]);
}; };
// 加载 // 加载
...@@ -130,7 +129,7 @@ const AddAreaModal = props => { ...@@ -130,7 +129,7 @@ const AddAreaModal = props => {
if (!flag) { if (!flag) {
return; return;
} }
if (item.addressId === addressId) { if (+item.addressId === +addressId) {
flag = false; flag = false;
} }
// if (item.children && item.children.length) { // if (item.children && item.children.length) {
......
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