Browse Source

去掉界面启用/禁用状态

zsw007 3 years ago
parent
commit
0e66f7e6f4
2 changed files with 1 additions and 2 deletions
  1. 0 1
      src/components/ParaManager/index.js
  2. 1 1
      src/store/reducers/staticInfo.js

+ 0 - 1
src/components/ParaManager/index.js

@@ -335,7 +335,6 @@ function DictManager() {
     { title: '参数值', dataIndex: 'val', key: 'index' },
     { title: '参数说明', dataIndex: 'code', key: 'index' },
     {title: '参数描述', dataIndex: 'remark', key: 'index'},
-    {title: '状态', dataIndex: 'status', key: 'status'},
     {
       title: '操作', dataIndex: 'key', render: (text, record) => (
         <Space size="middle">

+ 1 - 1
src/store/reducers/staticInfo.js

@@ -1,4 +1,4 @@
-import { createSlice } from '@reduxjs/toolkit';
+import { createSlice } from '@reduxjs/toolkit'; // redux-thunk  用最简单的方式搭建异步 action 构造器
 
 export const slice = createSlice({
     name: 'staticInfo',