Commit 0310aaec authored by XieZhiXiong's avatar XieZhiXiong

chore: 修改级联选择不一定需要选完

parent be70f622
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-07-07 15:23:11
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-12 09:58:03
* @LastEditTime: 2021-07-13 15:35:58
* @Description:
*/
import { ISchema } from '@formily/antd';
......@@ -130,6 +130,8 @@ export const schema: ISchema = {
'x-component': 'CascaderFormItem',
'x-component-props': {
fieldNames: { label: 'title', value: 'title', children: 'children' },
changeOnSelect: true,
expandTrigger: 'hover',
},
required: true,
},
......
......@@ -130,6 +130,8 @@ export const schema: ISchema = {
'x-component': 'CascaderFormItem',
'x-component-props': {
fieldNames: { label: 'title', value: 'title', children: 'children' },
changeOnSelect: true,
expandTrigger: 'hover',
},
required: true,
},
......
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