@yoooloo42/joker 1.0.99 → 1.0.101
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/index.cjs.js +11 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +11 -13
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22523,8 +22523,6 @@ const props = __props;
|
|
|
22523
22523
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22524
22524
|
const emit = __emit;
|
|
22525
22525
|
|
|
22526
|
-
let formData_box = vue.reactive(JSON.parse(JSON.stringify(props.modelValue)));
|
|
22527
|
-
vue.reactive(Object.assign({}, props.myProps));
|
|
22528
22526
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
22529
22527
|
const propsItem_box = vue.reactive(Object.assign({}, props.item));
|
|
22530
22528
|
|
|
@@ -22535,13 +22533,13 @@ const style = vue.ref({
|
|
|
22535
22533
|
|
|
22536
22534
|
const hdlClick = () => {
|
|
22537
22535
|
if(propsItem_box.hdlLabelClick){
|
|
22538
|
-
propsItem_box.hdlLabelClick({formData:
|
|
22536
|
+
propsItem_box.hdlLabelClick({formData: props.modelValue, scopeThis: scopeThis_box});
|
|
22539
22537
|
}
|
|
22540
22538
|
};
|
|
22541
22539
|
|
|
22542
22540
|
// 表单数据监听
|
|
22543
22541
|
vue.watch(
|
|
22544
|
-
|
|
22542
|
+
props.modelValue, // 监听 reactive 对象时,默认是深层监听
|
|
22545
22543
|
(newVal, oldVal) => {
|
|
22546
22544
|
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
22547
22545
|
emit("update:modelValue", newVal);
|
|
@@ -22624,7 +22622,7 @@ const props = __props;
|
|
|
22624
22622
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22625
22623
|
const emit = __emit;
|
|
22626
22624
|
|
|
22627
|
-
let formData_box = vue.reactive(
|
|
22625
|
+
let formData_box = vue.reactive(props.modelValue);
|
|
22628
22626
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
22629
22627
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
22630
22628
|
const propsItem_box = vue.reactive(Object.assign({}, props.item));
|
|
@@ -22838,7 +22836,7 @@ const style = vue.reactive({
|
|
|
22838
22836
|
|
|
22839
22837
|
// 表单数据监听
|
|
22840
22838
|
vue.watch(
|
|
22841
|
-
formData_box,
|
|
22839
|
+
formData_box,
|
|
22842
22840
|
(newVal, oldVal) => {
|
|
22843
22841
|
|
|
22844
22842
|
console.log('测试 000 监听', newVal);
|
|
@@ -22848,7 +22846,7 @@ vue.watch(
|
|
|
22848
22846
|
emit("update:modelValue", newVal);
|
|
22849
22847
|
},
|
|
22850
22848
|
{
|
|
22851
|
-
deep: true,
|
|
22849
|
+
deep: true, // 深层监听
|
|
22852
22850
|
}
|
|
22853
22851
|
);
|
|
22854
22852
|
|
|
@@ -23387,7 +23385,7 @@ const props = __props;
|
|
|
23387
23385
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23388
23386
|
const emit = __emit;
|
|
23389
23387
|
|
|
23390
|
-
let formData_box = vue.reactive(
|
|
23388
|
+
let formData_box = vue.reactive(props.modelValue);
|
|
23391
23389
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
23392
23390
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
23393
23391
|
|
|
@@ -23447,7 +23445,7 @@ const hdl = {
|
|
|
23447
23445
|
|
|
23448
23446
|
// 表单数据监听
|
|
23449
23447
|
vue.watch(
|
|
23450
|
-
formData_box,
|
|
23448
|
+
formData_box,
|
|
23451
23449
|
(newVal, oldVal) => {
|
|
23452
23450
|
|
|
23453
23451
|
console.log('测试 222 监听', newVal);
|
|
@@ -23457,7 +23455,7 @@ vue.watch(
|
|
|
23457
23455
|
emit("update:modelValue", newVal);
|
|
23458
23456
|
},
|
|
23459
23457
|
{
|
|
23460
|
-
deep: true,
|
|
23458
|
+
deep: true, // 深层监听
|
|
23461
23459
|
}
|
|
23462
23460
|
);
|
|
23463
23461
|
|
|
@@ -23650,13 +23648,13 @@ const props = __props;
|
|
|
23650
23648
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23651
23649
|
const emit = __emit;
|
|
23652
23650
|
|
|
23653
|
-
let formData_box = vue.reactive(
|
|
23651
|
+
let formData_box = vue.reactive(props.modelValue);
|
|
23654
23652
|
const formProps_box = vue.reactive(Object.assign({}, ly0default$2.myProps, props.myProps));
|
|
23655
23653
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
23656
23654
|
|
|
23657
23655
|
// 表单数据监听
|
|
23658
23656
|
vue.watch(
|
|
23659
|
-
formData_box,
|
|
23657
|
+
formData_box,
|
|
23660
23658
|
(newVal, oldVal) => {
|
|
23661
23659
|
|
|
23662
23660
|
console.log('测试 444 监听', newVal);
|
|
@@ -23666,7 +23664,7 @@ vue.watch(
|
|
|
23666
23664
|
emit("update:modelValue", newVal);
|
|
23667
23665
|
},
|
|
23668
23666
|
{
|
|
23669
|
-
deep: true,
|
|
23667
|
+
deep: true, // 深层监听
|
|
23670
23668
|
}
|
|
23671
23669
|
);
|
|
23672
23670
|
|