diff --git a/package.json b/package.json index 1fd4ba2..a6a0cc0 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "echarts-wordcloud": "^2.1.0", "element-ui": "^2.15.13", "file-saver": "^2.0.5", - "hbt-common": "0.0.5", + "hbt-common": "0.0.6", "jquery": "^3.6.4", "layui-layer": "^1.0.9", "mockjs": "^1.1.0", diff --git a/src/bootstrap.ts b/src/bootstrap.ts index abedcc5..23860ce 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -4,8 +4,8 @@ import router from './router' import store from './store' import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; -import SvgComponent from "hbt-common/components/svg.component.vue" -import EchartsComponent from "hbt-common/components/echarts.component.vue" +import SvgComponent from "hbt-common/components/common/svg.component.vue" +import EchartsComponent from "hbt-common/components/common/echarts.component.vue" import "@/assets/common/icons"; import 'animate.css'; import Mock from "mockjs" diff --git a/src/models/index.ts b/src/models/index.ts index d5dcabd..9d26629 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -6,7 +6,7 @@ interface ActionResult { /** * message: 错误消息 */ - message: string; + msg: string; /** * data: 数据 */ diff --git a/src/utils/player.ts b/src/utils/player.ts index babec70..e0b0e5a 100644 --- a/src/utils/player.ts +++ b/src/utils/player.ts @@ -9,7 +9,7 @@ export default class PlayerUtils{ const player = new acapi.DigitalTwinPlayer(process.env.VUE_APP_PALYER_URL,{ domId, iid, - // reset:true, + reset:true, apiOptions:{ onReady: this.onReady, onLog: this.onLog, //可选参数,日志输出回调函数