Commit caf445e5 authored by lxd's avatar lxd

feat: 地址问题

parent 9c522800
...@@ -58,7 +58,7 @@ const AddressForm = props => { ...@@ -58,7 +58,7 @@ const AddressForm = props => {
resetForm(); resetForm();
}; };
const getAddr = async (val, type, edit) => { const getAddr = async (val, type, edit) => {
const data = await addrQuery({ parentId: val?.key || val }); const data = await addrQuery({ parentId: val?.value || val });
switch (type) { switch (type) {
case 'city': case 'city':
setCityList(data); setCityList(data);
......
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