From 314767863f4f14d52258c1748614a5c718a2d98a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Wed, 21 Jun 2023 09:48:22 +0800 Subject: [PATCH] =?UTF-8?q?vue-splitpane=E5=8C=85=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/main.js | 3 +++ 2 files changed, 4 insertions(+) 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);