wzyyy 3 лет назад
Родитель
Сommit
df53e6b5a0
2 измененных файлов с 10 добавлено и 10 удалено
  1. 4 4
      config/proxy.ts
  2. 6 6
      src/pages/notice/Config/Detail/index.tsx

+ 4 - 4
config/proxy.ts

@@ -9,14 +9,14 @@
 export default {
   dev: {
     '/api': {
-      target: 'http://192.168.32.28:8844/',
-      ws: 'ws://192.168.32.28:8844/',
+      // target: 'http://192.168.32.28:8844/',
+      // ws: 'ws://192.168.32.28:8844/',
       // 开发环境
       // target: 'http://120.79.18.123:8844/',
       // ws: 'ws://120.79.18.123:8844/',
       // 测试环境
-      // target: 'http://120.77.179.54:8844/',
-      // ws: 'ws://120.77.179.54:8844/',
+      target: 'http://120.77.179.54:8844/',
+      ws: 'ws://120.77.179.54:8844/',
       // target: 'http://192.168.32.65:8850/',
       // ws: 'ws://192.168.32.65:8850/',
       //v2环境

+ 6 - 6
src/pages/notice/Config/Detail/index.tsx

@@ -525,12 +525,12 @@ const Detail = observer(() => {
                 },
                 'x-component': 'Input',
                 'x-decorator': 'FormItem',
-                'x-validator': [
-                  {
-                    max: 64,
-                    message: '最多可输入64个字符',
-                  },
-                ],
+                // 'x-validator': [
+                //   {
+                //     max: 64,
+                //     message: '最多可输入64个字符',
+                //   },
+                // ],
               },
               headers: {
                 title: '请求头',