wzyyy 3 years atrás
parent
commit
1894114060
2 changed files with 1 additions and 2 deletions
  1. 0 1
      src/pages/device/Instance/Export/index.tsx
  2. 1 1
      src/pages/system/Apply/index.tsx

+ 0 - 1
src/pages/device/Instance/Export/index.tsx

@@ -65,7 +65,6 @@ const Export = (props: Props) => {
             'x-component-props': {
               allowClear: true,
               showSearch: true,
-              allowClear: true,
               showArrow: true,
               filterOption: (input: string, option: any) =>
                 option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0,

+ 1 - 1
src/pages/system/Apply/index.tsx

@@ -460,7 +460,7 @@ const Apply = () => {
                 disabled={record.state.value !== 'disabled'}
                 popConfirm={{
                   title: '确认删除',
-                  disabled: record.state !== 'disabled',
+                  disabled: record.state.value !== 'disabled',
                   onConfirm: async () => {
                     const resp: any = await service.remove(record.id);
                     if (resp.status === 200) {