@kengic/vue 0.5.28 → 0.5.29-beta.0
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/kengic-vue.js +10 -6
- package/package.json +1 -1
package/dist/kengic-vue.js
CHANGED
@@ -7347,14 +7347,18 @@ const KgFormItemCheckboxGroup = defineComponent({
|
|
7347
7347
|
emit: r,
|
7348
7348
|
attrs: n
|
7349
7349
|
}) {
|
7350
|
-
const a = inject("$dayjs", dayjs)
|
7351
|
-
|
7352
|
-
|
7353
|
-
|
7350
|
+
const a = inject("$dayjs", dayjs), o = computed(() => {
|
7351
|
+
let i = e.value;
|
7352
|
+
if (!!i && (a.isDayjs(i) || (i = a(i)), !!a.isDayjs(i)))
|
7353
|
+
return i;
|
7354
|
+
});
|
7355
|
+
function s(i) {
|
7356
|
+
const l = i ? a(i) : void 0;
|
7357
|
+
r("update:value", l), r("kgChange", l);
|
7354
7358
|
}
|
7355
7359
|
return () => createVNode(DatePicker, {
|
7356
|
-
value:
|
7357
|
-
"onUpdate:value":
|
7360
|
+
value: o.value,
|
7361
|
+
"onUpdate:value": s,
|
7358
7362
|
id: n.id,
|
7359
7363
|
disabled: e.kgDisabled,
|
7360
7364
|
placeholder: e.kgPlaceholder,
|