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: 数据 */