张延森 4 年前
父节点
当前提交
616bb6d50a

+ 1
- 1
src/pages/Medical/Hospital/index.jsx 查看文件

144
   };
144
   };
145
 
145
 
146
   const actions = [
146
   const actions = [
147
-    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={handleAdd}>
147
+    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={() => handleAdd()}>
148
       新建
148
       新建
149
     </Button>,
149
     </Button>,
150
   ];
150
   ];

+ 2
- 1
src/pages/Post/Type/index.jsx 查看文件

45
       tableRef.current.reload()
45
       tableRef.current.reload()
46
       setVisible(false)
46
       setVisible(false)
47
     }).catch((e) => {
47
     }).catch((e) => {
48
+      console.error(e)
48
       notification.warn({ message: e.message })
49
       notification.warn({ message: e.message })
49
     })
50
     })
50
   }
51
   }
51
 
52
 
52
   const actions = [
53
   const actions = [
53
-    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={handleEdit}>
54
+    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={() => handleEdit()}>
54
       新建
55
       新建
55
     </Button>,
56
     </Button>,
56
   ];
57
   ];

+ 1
- 1
src/pages/System/Role/index.jsx 查看文件

52
   ]
52
   ]
53
   
53
   
54
   const actions = [
54
   const actions = [
55
-    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={handleEdit}>
55
+    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={() => handleEdit()}>
56
       新建
56
       新建
57
     </Button>,
57
     </Button>,
58
   ];
58
   ];

+ 1
- 1
src/pages/User/List/index.jsx 查看文件

99
   ]
99
   ]
100
   
100
   
101
   const actions = [
101
   const actions = [
102
-    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={handleEdit}>
102
+    <Button key="button" icon={<PlusOutlined />} type="primary" onClick={() => handleEdit()}>
103
       新建
103
       新建
104
     </Button>,
104
     </Button>,
105
   ];
105
   ];

+ 2
- 2
src/pages/document.ejs 查看文件

21
       name="viewport"
21
       name="viewport"
22
       content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
22
       content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
23
     />
23
     />
24
-    <title>Ant Design Pro</title>
24
+    <title>云致科技</title>
25
     <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
25
     <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
26
   </head>
26
   </head>
27
   <body>
27
   <body>
28
-    <noscript>Out-of-the-box mid-stage front/design solution!</noscript>
28
+    <noscript>请启用 JavaScript 并使用现代浏览器 !</noscript>
29
     <div id="root">
29
     <div id="root">
30
       <style>
30
       <style>
31
         html,
31
         html,