@yoooloo42/joker 1.0.77 → 1.0.78

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.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(() => props.modelValue || {
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,
@@ -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
  },