Browse Source

在线表格

yangbifan 2 years ago
parent
commit
d1cea25823
3 changed files with 6 additions and 5 deletions
  1. 1 0
      .gitignore
  2. 2 2
      config/dev.env.js
  3. 3 3
      src/pages/main/luckySheet/index.vue

+ 1 - 0
.gitignore

@@ -1,6 +1,7 @@
 .DS_Store
 node_modules
 /dist
+dist.zip
 
 # local env files
 .env.local

+ 2 - 2
config/dev.env.js

@@ -6,8 +6,8 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG: '"dev"',
   ctx:'"http://127.0.0.1:8080"',
-  // ctxForm: '"http://10.149.85.91:8880"',//dev
-  ctxForm: '"http://43.138.50.94:8880"',//test
+  ctxForm: '"http://10.149.85.91:8880"',//dev
+  // ctxForm: '"http://43.138.50.94:8880"',//test
   // ctxForm: '"http://192.168.2.124:8880"',//test
   // ctxForm: '"http://10.230.15.228:8880"',//生产
   excludeMeWhenSelectNextHandler:false,

+ 3 - 3
src/pages/main/luckySheet/index.vue

@@ -156,9 +156,9 @@ export default {
         title: "123123",
         allowUpdate: true,
         lang: "zh",
-        loadUrl: window.location.protocol + '//192.168.2.124:7777' + "/sheet/worksheet/"+this.ids,
-        loadSheetUrl: window.location.protocol + '//192.168.2.124:7777' +"/sheet/loadsheet/"+this.ids,
-        updateUrl: "ws://"+'//192.168.2.124:7777'+ "/ws/" + JSON.parse(window.sessionStorage.userInfo).loginName + "/"+this.ids
+        loadUrl: window.location.protocol + '//10.149.85.91:7777' + "/sheet/worksheet/"+this.ids,
+        loadSheetUrl: window.location.protocol + '//10.149.85.91:7777' +"/sheet/loadsheet/"+this.ids,
+        updateUrl: "ws://"+'//10.149.85.91:7777'+ "/ws/" + JSON.parse(window.sessionStorage.userInfo).loginName + "/"+this.ids
       }
         window.luckysheet.create(options)
            this.excelStatus = true