diff --git a/package.json b/package.json index 49aa5485..aced9627 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "vue-cropper": "0.5.5", "vue-meta": "2.4.0", "vue-router": "3.4.9", + "vue-splitpane": "^1.0.6", "vue2-verify": "^1.1.5", "vuedraggable": "2.24.3", "vuex": "3.6.0" diff --git a/src/main.js b/src/main.js index 503c356d..d12c5eb6 100644 --- a/src/main.js +++ b/src/main.js @@ -48,6 +48,8 @@ import VueMeta from "vue-meta"; // 字典数据组件 import DictData from "@/components/DictData"; +import splitPane from 'vue-splitpane' + // 去除控制台的 Vue warn 警告信息 Vue.config.silent = true; @@ -74,6 +76,7 @@ Vue.component("Editor", Editor); Vue.component("FileUpload", FileUpload); Vue.component("ImageUpload", ImageUpload); Vue.component("ImagePreview", ImagePreview); +Vue.component('split-pane', splitPane); Vue.use(directive); Vue.use(plugins); diff --git a/src/views/basic/product/bindProduct.vue b/src/views/basic/product/bindProduct.vue index 9f917ec4..4f3ea9a4 100644 --- a/src/views/basic/product/bindProduct.vue +++ b/src/views/basic/product/bindProduct.vue @@ -1,7 +1,7 @@