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