scorpio 2 жил өмнө
parent
commit
e6cca355ef

+ 1 - 1
src/views/home/component/form_dialog.vue

@@ -553,7 +553,7 @@ export default {
         month: this.month
       }).then(res => {
         if (res.code === 200) {
-          this.parseList(res.data.records, this.selectIndex, true)
+          this.parseList(res.data, this.selectIndex, true)
         }
       })
     },

+ 2 - 2
vite.config.js

@@ -50,8 +50,8 @@ export default defineConfig({
     proxy: {
       '/api': {
         // 正式环境地址
-        target: 'https://dev.wutongresearch.club/api',
-        // target: 'https://prod.wutongshucloud.com/api',
+        // target: 'https://dev.wutongresearch.club/api',
+        target: 'https://prod.wutongshucloud.com/api',
         // target: 'http://192.168.31.181:8110',
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/api/, '')