@longhongguo/form-create-ant-design-vue 3.3.37 → 3.3.38
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": "@longhongguo/form-create-ant-design-vue",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.38",
|
|
4
4
|
"description": "AntDesignVue版本低代码表单|FormCreate 是一个可以通过 JSON 生成具有动态渲染、数据收集、验证和提交功能的低代码表单生成组件。支持6个UI框架,适配移动端,并且支持生成任何 Vue 组件。内置20种常用表单组件和自定义组件,再复杂的表单都可以轻松搞定。",
|
|
5
5
|
"main": "./dist/form-create.min.js",
|
|
6
6
|
"module": "./dist/form-create.esm.js",
|
package/src/core/manager.js
CHANGED
|
@@ -86,16 +86,13 @@ export default {
|
|
|
86
86
|
|
|
87
87
|
// 应用 componentStyle 到包裹组件的最顶层父容器(如 .fc-form-col)
|
|
88
88
|
// 这样在 Flex 或 Space 布局中,可以给子元素设置 flex: 1 等样式
|
|
89
|
+
// 注意:componentStyle 是独立的,不合并到 prop.style,避免应用到组件本身
|
|
89
90
|
if (
|
|
90
91
|
ctx.rule.componentStyle &&
|
|
91
92
|
typeof ctx.rule.componentStyle === 'object'
|
|
92
93
|
) {
|
|
93
|
-
// 将 componentStyle
|
|
94
|
-
|
|
95
|
-
ctx.prop.style = {
|
|
96
|
-
...existingStyle,
|
|
97
|
-
...ctx.rule.componentStyle
|
|
98
|
-
}
|
|
94
|
+
// 将 componentStyle 独立存储,在 makeCol 时单独应用
|
|
95
|
+
ctx._componentStyle = ctx.rule.componentStyle
|
|
99
96
|
}
|
|
100
97
|
|
|
101
98
|
// 预览模式下:对 upload 组件设置 disabled
|