lsc 7 months ago
parent
commit
a0acf342dc

+ 1 - 1
dist/index.html

@@ -36,4 +36,4 @@
         width: 100%;
         background: #e6eaf0;
         font-family: '黑体';
-      }</style><script defer="defer" src="/js/chunk-vendors.54a29291.js"></script><script defer="defer" src="/js/app.c6b85176.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.0c24b96f.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but userManage doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
+      }</style><script defer="defer" src="/js/chunk-vendors.54a29291.js"></script><script defer="defer" src="/js/app.01dc53c7.js"></script><link href="/css/chunk-vendors.7cfe4581.css" rel="stylesheet"><link href="/css/app.0c24b96f.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but userManage doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because it is too large
+ 0 - 0
dist/js/app.01dc53c7.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.01dc53c7.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.c6b85176.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.c6b85176.js.map


+ 1 - 1
src/common/axios.config.js

@@ -30,7 +30,7 @@ axios.interceptors.request.use((config) => {
     } else if (config.data && config.data[0].post === '1' && config.method === 'post') {
         // 如果 data 的第一个元素 post 值为 '1',则进行自定义序列化
         config.data = 'mode=' + Object.values(config.data[0]).join(',');
-    } else if (config.method === 'post') {
+    } else if (config.method === 'post' && config.data) {
         // 处理其他 post 请求的参数序列化
         const encoded = {};
         for (const key in config.data[0]) {

Some files were not shown because too many files changed in this diff