From ae35711e9b9d2ce870470a0ac383790398358a09 Mon Sep 17 00:00:00 2001 From: Kaviilee Date: Sun, 3 Sep 2023 16:12:19 +0800 Subject: [PATCH] update item --- src/pages/item.js | 3 +++ src/views/item/index.vue | 3 ++- src/views/knowledge/Knowledge.vue | 2 +- vue.config.js | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/item.js b/src/pages/item.js index 920d63be..0c32daf6 100644 --- a/src/pages/item.js +++ b/src/pages/item.js @@ -15,6 +15,9 @@ import router from "@/router/item"; import store from "@/store/item"; import App from "@/views/item/index.vue"; +import reporter from "@jx3box/jx3box-common/js/reporter"; +reporter.install(Vue); + new Vue({ router, store, diff --git a/src/views/item/index.vue b/src/views/item/index.vue index 0142d50b..2d02128d 100644 --- a/src/views/item/index.vue +++ b/src/views/item/index.vue @@ -21,6 +21,7 @@ import ItemBreadcrumb from "@/components/item/ItemBreadcrumb.vue"; import Sidebar from "@/components/item/Sidebar.vue"; import Extend from "@/components/item/Extend.vue"; export default { - name: "ItemIndex" + name: "ItemIndex", + components: { DefaultLayout, ItemBreadcrumb, Sidebar, Extend }, } diff --git a/src/views/knowledge/Knowledge.vue b/src/views/knowledge/Knowledge.vue index ee16e86c..a8f4aeff 100644 --- a/src/views/knowledge/Knowledge.vue +++ b/src/views/knowledge/Knowledge.vue @@ -10,7 +10,7 @@