YaolongHan 4 年之前
父节点
当前提交
2c134c0acc
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/api/editer.js
  2. 1 1
      src/components/mapClass/EditScence.ts
  3. 1 1
      vue.config.js

+ 1 - 1
src/api/editer.js

@@ -1,7 +1,7 @@
 // 登录校验接口
 import httputils from '@/api/httputils'
 const testApi = '/serve/topology-wanda';
-const dataApi = '/data';
+const dataApi = '';
 // const testApi = '/serve'
 //获取图例分类结构
 export function queryByGroup(params) {

+ 1 - 1
src/components/mapClass/EditScence.ts

@@ -425,7 +425,7 @@ export class EditScence extends SGraphScene {
      */
     addIconItem(event: SMouseEvent): void {
         //获取信息工程化相关参数
-        const InfoSystemId = this._legend.InfoSystemId ? this._legend.InfoSystemId  :''
+        const InfoSystemId = this._legend.InfoSystemId ? this._legend.InfoSystemId  :'';
         const LegendData: Legend = {
             ID: uuid(),
             Name: this._legend.Name,

+ 1 - 1
vue.config.js

@@ -30,7 +30,7 @@ module.exports = {
                 changeOrigin: true,
                 secure: false,
                 pathRewrite: {
-                    '^/data': '',
+                    '^/data': '/data',
                 },
             },
         },