Browse Source

drawEdit刷新

CzRger 1 year ago
parent
commit
1b23cb26ba
2 changed files with 2 additions and 1 deletions
  1. 1 0
      src/components/easyMap/index.vue
  2. 1 1
      vite.config.ts

+ 1 - 0
src/components/easyMap/index.vue

@@ -426,6 +426,7 @@ export default defineComponent({
             func()
             emitFunc(state.drawEditsConfig)
           }
+          emitFunc(state.drawEditsConfig)
         })
       })
     }

+ 1 - 1
vite.config.ts

@@ -50,7 +50,7 @@ export default defineConfig({
         }
       },
       '/ax-node-api': {
-        target: 'http://localhost:18061/',
+        target: 'http://8.130.72.63:18061/',
         changeOrigin: true,
         rewrite: path => {
           return path.replace(/^\/ax-node-api/, '')