doway-coms 2.4.4 → 2.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.4.4",
3
+ "version": "2.4.6",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -18,6 +18,7 @@
18
18
  "element-resize-detector": "^1.2.4",
19
19
  "js-cookie": "2.2.0",
20
20
  "sortablejs": "^1.15.0",
21
+ "splitpanes": "^2.4.1",
21
22
  "vee-validate": "3.4.14",
22
23
  "vue": "2.7.14",
23
24
  "vue-contextmenujs": "^1.4.9",
@@ -0,0 +1,8 @@
1
+ // 导入组件,组件必须声明 name
2
+ import BaseFileGroup from './src/index.vue';
3
+ // 为组件提供 install 安装方法,供按需引入
4
+ BaseFileGroup.install = function(Vue) {
5
+ Vue.component(BaseFileGroup.name, BaseFileGroup);
6
+ };
7
+ // 默认导出组件
8
+ export default BaseFileGroup;