@yoooloo42/joker 1.0.77 → 1.0.79
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 +5 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +5 -8
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -23215,9 +23215,7 @@ return (_ctx, _cache) => {
|
|
|
23215
23215
|
(__props.item.inputType === 'd7price')
|
|
23216
23216
|
? (openBlock(), createElementBlock("div", _hoisted_26, [
|
|
23217
23217
|
createVNode(_component_ly0d7price, {
|
|
23218
|
-
myProps: {
|
|
23219
|
-
readOnly: __props.item.readOnly
|
|
23220
|
-
},
|
|
23218
|
+
myProps: {readOnly: __props.item.readOnly},
|
|
23221
23219
|
modelValue: __props.dataBox.fieldsValue[__props.item.fieldName],
|
|
23222
23220
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((__props.dataBox.fieldsValue[__props.item.fieldName]) = $event))
|
|
23223
23221
|
}, null, 8 /* PROPS */, ["myProps", "modelValue"])
|
|
@@ -41817,14 +41815,14 @@ const props = __props;
|
|
|
41817
41815
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
41818
41816
|
const emit = __emit;
|
|
41819
41817
|
|
|
41820
|
-
const value = computed(() =>
|
|
41818
|
+
const value = computed(() => Object.assign({
|
|
41821
41819
|
code2: '',
|
|
41822
41820
|
text2: '',
|
|
41823
41821
|
code4: '',
|
|
41824
41822
|
text4: '',
|
|
41825
41823
|
code6: '',
|
|
41826
41824
|
text6: '',
|
|
41827
|
-
});
|
|
41825
|
+
}, {code6: props.modelValue || ''}));
|
|
41828
41826
|
|
|
41829
41827
|
const popup = reactive({
|
|
41830
41828
|
visible: false,
|
|
@@ -41838,7 +41836,7 @@ const popup = reactive({
|
|
|
41838
41836
|
}
|
|
41839
41837
|
});
|
|
41840
41838
|
|
|
41841
|
-
watch(() => props.
|
|
41839
|
+
watch(() => props.modelValue,
|
|
41842
41840
|
async (valNew, valOld) => {
|
|
41843
41841
|
// 只有当传入的值有效时才进行网络请求
|
|
41844
41842
|
if (!valNew) return;
|
|
@@ -42604,8 +42602,7 @@ var script$2 = {
|
|
|
42604
42602
|
readOnly: {
|
|
42605
42603
|
type: Boolean,
|
|
42606
42604
|
default: false
|
|
42607
|
-
}
|
|
42608
|
-
_id: [String, Number] // 允许传入一个 _id 用于回传,可选
|
|
42605
|
+
}
|
|
42609
42606
|
}
|
|
42610
42607
|
|
|
42611
42608
|
},
|