fix: 略微调整代码顺序,解决某些时候只读组件渲染错误的问题
This commit is contained in:
@ -11,8 +11,8 @@
|
|||||||
model: Object
|
model: Object
|
||||||
});
|
});
|
||||||
|
|
||||||
const fieldValue = ref(genFieldValue(props.value));
|
|
||||||
const textComponents = ['Input', 'AutoCodeRule', 'DatePicker', 'TimePicker', 'Info', 'Text', 'InputTextArea', 'InputNumber'];
|
const textComponents = ['Input', 'AutoCodeRule', 'DatePicker', 'TimePicker', 'Info', 'Text', 'InputTextArea', 'InputNumber'];
|
||||||
|
const fieldValue = ref(genFieldValue(props.value));
|
||||||
|
|
||||||
function parseRangeVal(val, component) {
|
function parseRangeVal(val, component) {
|
||||||
if (component !== 'RangePicker' || !val) {
|
if (component !== 'RangePicker' || !val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user