Yansen 2 years ago
parent
commit
a9eb18eecc
2 changed files with 11 additions and 11 deletions
  1. 10
    10
      src/pages/check/index.jsx
  2. 1
    1
      src/pages/checkAnswer/loc/detail.jsx

+ 10
- 10
src/pages/check/index.jsx View File

109
       valueType: "option",
109
       valueType: "option",
110
       width: 240,
110
       width: 240,
111
       render: (_, record) => [
111
       render: (_, record) => [
112
-        <Button
113
-          key={1}
114
-          style={{ padding: 0 }}
115
-          type="link"
116
-          onClick={() => {
117
-            onUpdateStatus(record);
118
-          }}
119
-        >
120
-          {record.status === 1 ? "禁用" : "启用"}
121
-        </Button>,
112
+        // <Button
113
+        //   key={1}
114
+        //   style={{ padding: 0 }}
115
+        //   type="link"
116
+        //   onClick={() => {
117
+        //     onUpdateStatus(record);
118
+        //   }}
119
+        // >
120
+        //   {record.status === 1 ? "禁用" : "启用"}
121
+        // </Button>,
122
         <Popconfirm
122
         <Popconfirm
123
           key={3}
123
           key={3}
124
           title="您是否确认删除 ?"
124
           title="您是否确认删除 ?"

+ 1
- 1
src/pages/checkAnswer/loc/detail.jsx View File

87
   }
87
   }
88
 
88
 
89
   return (
89
   return (
90
-    <Page>
90
+    <Page back>
91
       {contextHolder}
91
       {contextHolder}
92
       <ProTable
92
       <ProTable
93
         rowKey="answerItemId"
93
         rowKey="answerItemId"