@tmagic/form 1.2.9 → 1.2.10
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/dist/tmagic-form.umd.cjs
CHANGED
|
@@ -380,26 +380,28 @@
|
|
|
380
380
|
key: key(__props.config),
|
|
381
381
|
size: __props.size,
|
|
382
382
|
model: __props.model,
|
|
383
|
+
"last-values": __props.lastValues,
|
|
383
384
|
config: __props.config,
|
|
384
385
|
name: vue.unref(name),
|
|
385
386
|
disabled: vue.unref(disabled),
|
|
386
387
|
prop: vue.unref(itemProp),
|
|
387
388
|
onChange: onChangeHandler,
|
|
388
389
|
onAddDiffCount
|
|
389
|
-
}, null, 40, ["size", "model", "config", "name", "disabled", "prop"]))
|
|
390
|
+
}, null, 40, ["size", "model", "last-values", "config", "name", "disabled", "prop"]))
|
|
390
391
|
]),
|
|
391
392
|
_: 1
|
|
392
393
|
})) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tagName)), {
|
|
393
394
|
key: key(__props.config),
|
|
394
395
|
size: __props.size,
|
|
395
396
|
model: __props.model,
|
|
397
|
+
"last-values": __props.lastValues,
|
|
396
398
|
config: __props.config,
|
|
397
399
|
name: vue.unref(name),
|
|
398
400
|
disabled: vue.unref(disabled),
|
|
399
401
|
prop: vue.unref(itemProp),
|
|
400
402
|
onChange: onChangeHandler,
|
|
401
403
|
onAddDiffCount
|
|
402
|
-
}, null, 40, ["size", "model", "config", "name", "disabled", "prop"])),
|
|
404
|
+
}, null, 40, ["size", "model", "last-values", "config", "name", "disabled", "prop"])),
|
|
403
405
|
vue.unref(extra) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
404
406
|
key: 2,
|
|
405
407
|
innerHTML: vue.unref(extra),
|
|
@@ -567,7 +569,7 @@
|
|
|
567
569
|
return vue.openBlock(), vue.createBlock(_component_Container, {
|
|
568
570
|
key: key(item),
|
|
569
571
|
model: vue.unref(name) || vue.unref(name) === 0 ? __props.model[vue.unref(name)] : __props.model,
|
|
570
|
-
"last-values": vue.unref(name) || vue.unref(name) === 0 ? __props.lastValues[vue.unref(name)] : __props.lastValues,
|
|
572
|
+
"last-values": vue.unref(name) || vue.unref(name) === 0 ? __props.lastValues[vue.unref(name)] || {} : __props.lastValues,
|
|
571
573
|
"is-compare": __props.isCompare,
|
|
572
574
|
config: item,
|
|
573
575
|
size: __props.size,
|