@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.cjs.js CHANGED
@@ -23219,9 +23219,7 @@ return (_ctx, _cache) => {
23219
23219
  (__props.item.inputType === 'd7price')
23220
23220
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_26, [
23221
23221
  vue.createVNode(_component_ly0d7price, {
23222
- myProps: {
23223
- readOnly: __props.item.readOnly
23224
- },
23222
+ myProps: {readOnly: __props.item.readOnly},
23225
23223
  modelValue: __props.dataBox.fieldsValue[__props.item.fieldName],
23226
23224
  "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((__props.dataBox.fieldsValue[__props.item.fieldName]) = $event))
23227
23225
  }, null, 8 /* PROPS */, ["myProps", "modelValue"])
@@ -41821,14 +41819,14 @@ const props = __props;
41821
41819
  // 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
41822
41820
  const emit = __emit;
41823
41821
 
41824
- const value = vue.computed(() => props.modelValue || {
41822
+ const value = vue.computed(() => Object.assign({
41825
41823
  code2: '',
41826
41824
  text2: '',
41827
41825
  code4: '',
41828
41826
  text4: '',
41829
41827
  code6: '',
41830
41828
  text6: '',
41831
- });
41829
+ }, {code6: props.modelValue || ''}));
41832
41830
 
41833
41831
  const popup = vue.reactive({
41834
41832
  visible: false,
@@ -42608,8 +42606,7 @@ var script$2 = {
42608
42606
  readOnly: {
42609
42607
  type: Boolean,
42610
42608
  default: false
42611
- },
42612
- _id: [String, Number] // 允许传入一个 _id 用于回传,可选
42609
+ }
42613
42610
  }
42614
42611
 
42615
42612
  },