@@ -154,19 +154,19 @@ export const formSchema: FormSchema[] = [
{
label: '应用',
field: 'appId',
- required: true,
- component: 'JDictSelectTag',
+ component: 'ApiSelect',
componentProps: {
- dictCode: 'app_base_info,name,id',
+ api: appList,
+ labelField: 'name',
+ valueField: 'id',
placeholder: '请选择应用',
onChange: (value) => {
onCleanCode();
},
-
+ colProps: { span: 6 },
- {
+ {
field: 'roleName',
label: '角色名称',
required: true,