@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.esm.js
CHANGED
|
@@ -22617,7 +22617,7 @@ const props = __props;
|
|
|
22617
22617
|
|
|
22618
22618
|
let formData_box = reactive(props.modelValue);
|
|
22619
22619
|
const formProps_box = reactive(Object.assign({}, props.myProps));
|
|
22620
|
-
const scopeThis_box = reactive(
|
|
22620
|
+
const scopeThis_box = reactive(props.scopeThis);
|
|
22621
22621
|
const propsItem_box = reactive(Object.assign({}, props.item));
|
|
22622
22622
|
|
|
22623
22623
|
const input = reactive({
|
|
@@ -23361,7 +23361,7 @@ const props = __props;
|
|
|
23361
23361
|
|
|
23362
23362
|
let formData_box = reactive(props.modelValue);
|
|
23363
23363
|
const formProps_box = reactive(Object.assign({}, props.myProps));
|
|
23364
|
-
const scopeThis_box = reactive(
|
|
23364
|
+
const scopeThis_box = reactive(props.scopeThis);
|
|
23365
23365
|
|
|
23366
23366
|
const style = reactive({
|
|
23367
23367
|
collapse: styleModule.collapse,
|
|
@@ -23596,32 +23596,13 @@ 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
|
-
const scopeThis_box = reactive(
|
|
23609
|
-
|
|
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
|
-
);
|
|
23605
|
+
const scopeThis_box = reactive(props.scopeThis);
|
|
23625
23606
|
|
|
23626
23607
|
return (_ctx, _cache) => {
|
|
23627
23608
|
const _component_el_dialog = resolveComponent("el-dialog");
|