@yoooloo42/joker 1.0.101 → 1.0.102
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 +2 -43
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -43
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -22611,12 +22611,9 @@ var script$g = {
|
|
|
22611
22611
|
default: () => ({})
|
|
22612
22612
|
}
|
|
22613
22613
|
},
|
|
22614
|
-
|
|
22615
|
-
setup(__props, { emit: __emit }) {
|
|
22614
|
+
setup(__props) {
|
|
22616
22615
|
|
|
22617
22616
|
const props = __props;
|
|
22618
|
-
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22619
|
-
const emit = __emit;
|
|
22620
22617
|
|
|
22621
22618
|
let formData_box = reactive(props.modelValue);
|
|
22622
22619
|
const formProps_box = reactive(Object.assign({}, props.myProps));
|
|
@@ -22830,22 +22827,6 @@ const style = reactive({
|
|
|
22830
22827
|
download: computed(()=>styleModule.input.download()),
|
|
22831
22828
|
});
|
|
22832
22829
|
|
|
22833
|
-
// 表单数据监听
|
|
22834
|
-
watch(
|
|
22835
|
-
formData_box,
|
|
22836
|
-
(newVal, oldVal) => {
|
|
22837
|
-
|
|
22838
|
-
console.log('测试 000 监听', newVal);
|
|
22839
|
-
console.log('测试 111 监听', oldVal);
|
|
22840
|
-
|
|
22841
|
-
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
22842
|
-
emit("update:modelValue", newVal);
|
|
22843
|
-
},
|
|
22844
|
-
{
|
|
22845
|
-
deep: true, // 深层监听
|
|
22846
|
-
}
|
|
22847
|
-
);
|
|
22848
|
-
|
|
22849
22830
|
return (_ctx, _cache) => {
|
|
22850
22831
|
const _component_el_input = resolveComponent("el-input");
|
|
22851
22832
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -23374,12 +23355,9 @@ var script$f = {
|
|
|
23374
23355
|
default: () => ({})
|
|
23375
23356
|
}
|
|
23376
23357
|
},
|
|
23377
|
-
|
|
23378
|
-
setup(__props, { emit: __emit }) {
|
|
23358
|
+
setup(__props) {
|
|
23379
23359
|
|
|
23380
23360
|
const props = __props;
|
|
23381
|
-
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23382
|
-
const emit = __emit;
|
|
23383
23361
|
|
|
23384
23362
|
let formData_box = reactive(props.modelValue);
|
|
23385
23363
|
const formProps_box = reactive(Object.assign({}, props.myProps));
|
|
@@ -23433,28 +23411,9 @@ const hdl = {
|
|
|
23433
23411
|
// 关闭表单窗口
|
|
23434
23412
|
formProps_box.popup.visible = false;
|
|
23435
23413
|
}
|
|
23436
|
-
|
|
23437
|
-
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
23438
|
-
emit("update:modelValue", formData_box);
|
|
23439
23414
|
}
|
|
23440
23415
|
};
|
|
23441
23416
|
|
|
23442
|
-
// 表单数据监听
|
|
23443
|
-
watch(
|
|
23444
|
-
formData_box,
|
|
23445
|
-
(newVal, oldVal) => {
|
|
23446
|
-
|
|
23447
|
-
console.log('测试 222 监听', newVal);
|
|
23448
|
-
console.log('测试 333 监听', oldVal);
|
|
23449
|
-
|
|
23450
|
-
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
23451
|
-
emit("update:modelValue", newVal);
|
|
23452
|
-
},
|
|
23453
|
-
{
|
|
23454
|
-
deep: true, // 深层监听
|
|
23455
|
-
}
|
|
23456
|
-
);
|
|
23457
|
-
|
|
23458
23417
|
return (_ctx, _cache) => {
|
|
23459
23418
|
const _component_ly0Menu = resolveComponent("ly0Menu");
|
|
23460
23419
|
const _component_el_collapse_item = resolveComponent("el-collapse-item");
|