Skip to content

Commit 7e30389

Browse files
authored
Merge pull request #325 from lljj-x/feat/utils
feat(utils): 合并公共配置
2 parents bb508de + 37c051c commit 7e30389

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

packages/lib/utils/vue3Utils.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import { defineComponent, h, resolveComponent as _resolveComponent } from 'vue';
66

7-
export {
7+
import {
88
nodePath2ClassName, isRootNodePath, computedCurPath, getPathVal, path2prop, pathSeparator
99
} from './vueCommonUtils';
1010

@@ -54,3 +54,7 @@ export const modelValueComponent = (component, {
5454
};
5555
}
5656
});
57+
58+
export {
59+
nodePath2ClassName, isRootNodePath, computedCurPath, getPathVal, path2prop, pathSeparator
60+
};

packages/lib/utils/vueUtils.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import Vue from 'vue';
66

7-
export {
7+
import {
88
nodePath2ClassName, isRootNodePath, computedCurPath, getPathVal, path2prop, pathSeparator
99
} from './vueCommonUtils';
1010

@@ -27,3 +27,7 @@ export function setPathVal(obj, path, value) {
2727
obj = obj[pathArr[i]];
2828
}
2929
}
30+
31+
export {
32+
nodePath2ClassName, isRootNodePath, computedCurPath, getPathVal, path2prop, pathSeparator
33+
};

0 commit comments

Comments
 (0)