@yoooloo42/joker 1.0.102 → 1.0.104
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 +4 -23
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -23
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22621,7 +22621,7 @@ const props = __props;
|
|
|
22621
22621
|
|
|
22622
22622
|
let formData_box = vue.reactive(props.modelValue);
|
|
22623
22623
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
22624
|
-
const scopeThis_box = vue.reactive(
|
|
22624
|
+
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
22625
22625
|
const propsItem_box = vue.reactive(Object.assign({}, props.item));
|
|
22626
22626
|
|
|
22627
22627
|
const input = vue.reactive({
|
|
@@ -23365,7 +23365,7 @@ const props = __props;
|
|
|
23365
23365
|
|
|
23366
23366
|
let formData_box = vue.reactive(props.modelValue);
|
|
23367
23367
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
23368
|
-
const scopeThis_box = vue.reactive(
|
|
23368
|
+
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
23369
23369
|
|
|
23370
23370
|
const style = vue.reactive({
|
|
23371
23371
|
collapse: styleModule.collapse,
|
|
@@ -23600,32 +23600,13 @@ 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
|
-
const scopeThis_box = vue.reactive(
|
|
23613
|
-
|
|
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
|
-
);
|
|
23609
|
+
const scopeThis_box = vue.reactive(props.scopeThis);
|
|
23629
23610
|
|
|
23630
23611
|
return (_ctx, _cache) => {
|
|
23631
23612
|
const _component_el_dialog = vue.resolveComponent("el-dialog");
|