gi-component 0.0.15 → 0.0.16
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
|
@@ -332,10 +332,9 @@ function isDisabled(item: FormColumnItem) {
|
|
|
332
332
|
|
|
333
333
|
/** 表单数据更新 */
|
|
334
334
|
function updateModelValue(value: any, item: FormColumnItem) {
|
|
335
|
-
const val = item?.format ? item.format(value) : value
|
|
336
335
|
emit(
|
|
337
336
|
'update:modelValue',
|
|
338
|
-
Object.assign(props.modelValue, { [item.field]:
|
|
337
|
+
Object.assign(props.modelValue, { [item.field]: value })
|
|
339
338
|
)
|
|
340
339
|
}
|
|
341
340
|
|