mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2025-06-22 09:59:56 +08:00
3.0.3(2022.03.02)更新:
1. 修复Pad/H5布局预览的样式显示问题; 2. 修复升级新版element-plus后事件代码编辑弹窗无法显示的问题; 3. 修复provide传递的formConfig属性不能获取最新值的问题,改用provide函数实现; 4. element-plus版本升级到2.0.4。
This commit is contained in:
@ -55,7 +55,7 @@
|
||||
},
|
||||
|
||||
},
|
||||
inject: ['refList', 'globalModel', 'formConfig', 'previewState'],
|
||||
inject: ['refList', 'globalModel', 'getFormConfig', 'previewState'],
|
||||
data() {
|
||||
return {
|
||||
layoutProps: {
|
||||
@ -70,6 +70,10 @@
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
formConfig() {
|
||||
return this.getFormConfig()
|
||||
},
|
||||
|
||||
customClass() {
|
||||
return this.widget.options.customClass || ''
|
||||
},
|
||||
|
Reference in New Issue
Block a user