chenjj vor 3 Monaten
Ursprung
Commit
c2a61fd27e
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 3 1
      src/views/finance/wallet/index.vue
  2. 2 2
      vite.config.js

+ 3 - 1
src/views/finance/wallet/index.vue

@@ -18,7 +18,7 @@
 import { ref } from 'vue';
 import ListPage from '@/views/components/ListPage/index.vue';
 import { list, walletTotal } from "@/api/finance/wallet.js";
-
+const { proxy } = getCurrentInstance();
 const userTableRef = ref();
 const listPageData = reactive({
     tableColumn: [
@@ -85,11 +85,13 @@ const listPageData = reactive({
         {
             label: '导出',
             func: (parmas) => {
+				console.log("TCL: parmas", parmas)
                 try {
                     proxy.download("core/volunteer/account/export/VolunteerAccountList", {
                         ...parmas
                     }, `钱包管理_${new Date().getTime()}.xlsx`);
                 } catch (error) {
+				console.log("TCL: error", error)
                 }
             },
             key: 'export',

+ 2 - 2
vite.config.js

@@ -38,8 +38,8 @@ export default defineConfig(({ mode, command }) => {
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
           // target: 'http://192.168.100.139:9527',
-          // target: 'http://192.168.100.122:9527',
-          target: 'https://yongc.top/prod-api', 
+          target: 'http://192.168.100.122:9527',
+          // target: 'https://yongc.top/prod-api', 
           // target: 'http://192.168.100.128:9527',
           // target: 'https://goldshulin.com/prod-api',
           changeOrigin: true,