ruoyi-ui/apps/web-antd/src/views/tool/page-designer/data.tsx
@@ -41,7 +41,7 @@ field: 'status', slots: { default: ({ row }) => { return row.status === '1' ? '正常' : '停用'; return row.status === '0' ? '正常' : '停用'; }, }, }, @@ -66,7 +66,7 @@ }, { component: 'TreeSelect', fieldName: 'menuId', fieldName: 'menuParentId', label: '上级目录', componentProps: { allowClear: true, @@ -80,8 +80,8 @@ label: '状态', componentProps: { options: [ { label: '正常', value: '1' }, { label: '停用', value: '0' }, { label: '正常', value: '0' }, { label: '停用', value: '1' }, ], }, rules: 'selectRequired',