fix:修复bug

This commit is contained in:
wangsongsole 2023-02-07 14:17:15 +08:00
parent 58eee21137
commit 0bc5689133
1 changed files with 2 additions and 2 deletions

View File

@ -183,10 +183,10 @@ export default forwardRef(({ onQuery, query, resetChange }, myRef) => {
onChange={(va) => {
if (va) {
getKeyBatchSelect(va.key);
} else {
setModels({ ...models, key_batch_id: "" });
}
setModels({ ...models, plan: va });
} else {
setModels({ ...models, key_batch_id: null, plan: null });
}
}}
/>
</FormItem>