lilei %!s(int64=4) %!d(string=hai) anos
pai
achega
c0a4e7e46a
Modificáronse 2 ficheiros con 5 adicións e 4 borrados
  1. 3 2
      src/views/market/lotterySettings.vue
  2. 2 2
      vue.config.js

+ 3 - 2
src/views/market/lotterySettings.vue

@@ -103,7 +103,7 @@ export default {
         wrapperCol: { span: 17 }
       },
       searchData: {
-        name: '',
+        activeName: '',
         state: undefined
       },
       showEditModal: false, // 默认关闭弹窗
@@ -182,7 +182,8 @@ export default {
     },
     // 重置
     resetForm () {
-      this.searchData.name = ''
+      this.searchData.activeName = ''
+      this.searchData.state = ''
       this.$refs.table.refresh(true)
     },
     // 取消添加编辑

+ 2 - 2
vue.config.js

@@ -108,8 +108,8 @@ const vueConfig = {
     // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
     proxy: {
       '/api': {
-        // target: 'http://192.168.16.105:8301/gc-admin/',
-        target: 'https://lese.test.sxzxyj.net/gc-admin/',
+        target: 'http://192.168.16.105:8301/gc-admin/',
+        // target: 'https://lese.test.sxzxyj.net/gc-admin/',
         ws: false,
         changeOrigin: true,
         pathRewrite: {