br-dionysus 1.4.0 → 1.4.2
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/createWebTypes.mjs +1 -1
- package/dist/br-dionysus.es.js +1686 -1674
- package/dist/br-dionysus.umd.js +6 -6
- package/dist/index.css +1 -1
- package/package.json +1 -1
- package/packages/MSelectTableV1/src/MSelectTableV1.vue +14 -1
- package/packages/MTable/src/MTable.vue +1 -1
- package/web-types.json +1 -1
package/createWebTypes.mjs
CHANGED
|
@@ -36,7 +36,7 @@ const extractPropsFromAST = (ast) => {
|
|
|
36
36
|
if (ts.isCallExpression(node)) {
|
|
37
37
|
const callExpression = node.expression
|
|
38
38
|
// 获取函数的名称
|
|
39
|
-
|
|
39
|
+
const functionName = callExpression.escapedText || (callExpression.name && callExpression.name.escapedText)
|
|
40
40
|
|
|
41
41
|
// 是属性
|
|
42
42
|
const isProps = functionName === 'defineProps' || functionName === 'withDefaults'
|