@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.js
CHANGED
|
@@ -377,26 +377,28 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
377
377
|
key: key(__props.config),
|
|
378
378
|
size: __props.size,
|
|
379
379
|
model: __props.model,
|
|
380
|
+
"last-values": __props.lastValues,
|
|
380
381
|
config: __props.config,
|
|
381
382
|
name: unref(name),
|
|
382
383
|
disabled: unref(disabled),
|
|
383
384
|
prop: unref(itemProp),
|
|
384
385
|
onChange: onChangeHandler,
|
|
385
386
|
onAddDiffCount
|
|
386
|
-
}, null, 40, ["size", "model", "config", "name", "disabled", "prop"]))
|
|
387
|
+
}, null, 40, ["size", "model", "last-values", "config", "name", "disabled", "prop"]))
|
|
387
388
|
]),
|
|
388
389
|
_: 1
|
|
389
390
|
})) : (openBlock(), createBlock(resolveDynamicComponent(unref(tagName)), {
|
|
390
391
|
key: key(__props.config),
|
|
391
392
|
size: __props.size,
|
|
392
393
|
model: __props.model,
|
|
394
|
+
"last-values": __props.lastValues,
|
|
393
395
|
config: __props.config,
|
|
394
396
|
name: unref(name),
|
|
395
397
|
disabled: unref(disabled),
|
|
396
398
|
prop: unref(itemProp),
|
|
397
399
|
onChange: onChangeHandler,
|
|
398
400
|
onAddDiffCount
|
|
399
|
-
}, null, 40, ["size", "model", "config", "name", "disabled", "prop"])),
|
|
401
|
+
}, null, 40, ["size", "model", "last-values", "config", "name", "disabled", "prop"])),
|
|
400
402
|
unref(extra) ? (openBlock(), createElementBlock("div", {
|
|
401
403
|
key: 2,
|
|
402
404
|
innerHTML: unref(extra),
|
|
@@ -564,7 +566,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
564
566
|
return openBlock(), createBlock(_component_Container, {
|
|
565
567
|
key: key(item),
|
|
566
568
|
model: unref(name) || unref(name) === 0 ? __props.model[unref(name)] : __props.model,
|
|
567
|
-
"last-values": unref(name) || unref(name) === 0 ? __props.lastValues[unref(name)] : __props.lastValues,
|
|
569
|
+
"last-values": unref(name) || unref(name) === 0 ? __props.lastValues[unref(name)] || {} : __props.lastValues,
|
|
568
570
|
"is-compare": __props.isCompare,
|
|
569
571
|
config: item,
|
|
570
572
|
size: __props.size,
|