张延森 3 years ago
parent
commit
d9d749e9ea
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      config/proxy.js
  2. 1
    1
      src/pages/staff/staff/Edit/index.jsx

+ 2
- 2
config/proxy.js View File

@@ -8,8 +8,8 @@
8 8
 export default {
9 9
   dev: {
10 10
     '/api/': {
11
-      target: 'https://xlj.newlandsh.com/',
12
-      // target: 'http://localhost:8081/',
11
+      // target: 'https://xlj.newlandsh.com/',
12
+      target: 'http://localhost:8081/',
13 13
       // target: 'https://xlj.newlandsh.com/',
14 14
       changeOrigin: true,
15 15
       pathRewrite: {

+ 1
- 1
src/pages/staff/staff/Edit/index.jsx View File

@@ -245,7 +245,7 @@ const StaffEdit = props => {
245 245
       ),
246 246
       value: userData.buildingIds,
247 247
       hidden: () => isConsultant,
248
-      rules: [{ required: true, message: '请选择授权项目' }],
248
+      // rules: [{ required: true, message: '请选择授权项目' }],
249 249
     },
250 250
     {
251 251
       label: '简介',