@yoooloo42/joker 1.0.102 → 1.0.103
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 +1 -20
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -20
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23596,33 +23596,14 @@ var script$e = {
|
|
|
23596
23596
|
default: () => ({})
|
|
23597
23597
|
}
|
|
23598
23598
|
},
|
|
23599
|
-
|
|
23600
|
-
setup(__props, { emit: __emit }) {
|
|
23599
|
+
setup(__props) {
|
|
23601
23600
|
|
|
23602
23601
|
const props = __props;
|
|
23603
|
-
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23604
|
-
const emit = __emit;
|
|
23605
23602
|
|
|
23606
23603
|
let formData_box = reactive(props.modelValue);
|
|
23607
23604
|
const formProps_box = reactive(Object.assign({}, ly0default$2.myProps, props.myProps));
|
|
23608
23605
|
const scopeThis_box = reactive(Object.assign({}, props.scopeThis));
|
|
23609
23606
|
|
|
23610
|
-
// 表单数据监听
|
|
23611
|
-
watch(
|
|
23612
|
-
formData_box,
|
|
23613
|
-
(newVal, oldVal) => {
|
|
23614
|
-
|
|
23615
|
-
console.log('测试 444 监听', newVal);
|
|
23616
|
-
console.log('测试 555 监听', oldVal);
|
|
23617
|
-
|
|
23618
|
-
// 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
|
|
23619
|
-
emit("update:modelValue", newVal);
|
|
23620
|
-
},
|
|
23621
|
-
{
|
|
23622
|
-
deep: true, // 深层监听
|
|
23623
|
-
}
|
|
23624
|
-
);
|
|
23625
|
-
|
|
23626
23607
|
return (_ctx, _cache) => {
|
|
23627
23608
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
23628
23609
|
|