@yoooloo42/joker 1.0.105 → 1.0.106

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
@@ -1,5 +1,5 @@
1
1
  import { useRouter } from 'vue-router';
2
- import { reactive, ref, watch, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, computed, resolveComponent, createBlock, unref, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, nextTick as nextTick$1 } from 'vue';
2
+ import { reactive, ref, watch, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, computed, resolveComponent, unref, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, nextTick as nextTick$1 } from 'vue';
3
3
  import { ElMessage } from 'element-plus';
4
4
 
5
5
  function _mergeNamespaces(n, m) {
@@ -22615,10 +22615,11 @@ var script$g = {
22615
22615
 
22616
22616
  const props = __props;
22617
22617
 
22618
+ // props属性包装,使得页面和js使用相同的命名
22618
22619
  let formData_box = props.modelValue;
22619
- const formProps_box = reactive(Object.assign({}, props.myProps));
22620
- const scopeThis_box = reactive(props.scopeThis);
22621
- const propsItem_box = reactive(Object.assign({}, props.item));
22620
+ const formProps_box = props.myProps;
22621
+ const scopeThis_box = props.scopeThis;
22622
+ const propsItem_box = props.item;
22622
22623
 
22623
22624
  const input = reactive({
22624
22625
  placeholder: propsItem_box.placeholder || formProps_box.para.placeholder.input,
@@ -22857,77 +22858,77 @@ return (_ctx, _cache) => {
22857
22858
  return (openBlock(), createElementBlock(Fragment, null, [
22858
22859
  createCommentVNode(" input-box "),
22859
22860
  createElementVNode("div", {
22860
- style: normalizeStyle(style.box(propsItem_box))
22861
+ style: normalizeStyle(style.box(unref(propsItem_box)))
22861
22862
  }, [
22862
22863
  createCommentVNode(" 只读 "),
22863
- (propsItem_box.inputType === 'text')
22864
+ (unref(propsItem_box).inputType === 'text')
22864
22865
  ? (openBlock(), createElementBlock("div", {
22865
22866
  key: 0,
22866
- style: normalizeStyle(style.text(propsItem_box, formProps_box))
22867
- }, toDisplayString(unref(formData_box)[propsItem_box.fieldName] ? unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
22867
+ style: normalizeStyle(style.text(unref(propsItem_box), unref(formProps_box)))
22868
+ }, toDisplayString(unref(formData_box)[unref(propsItem_box).fieldName] ? unref(formData_box)[unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
22868
22869
  : createCommentVNode("v-if", true),
22869
- (propsItem_box.inputType === 'text0')
22870
+ (unref(propsItem_box).inputType === 'text0')
22870
22871
  ? (openBlock(), createElementBlock("div", {
22871
22872
  key: 1,
22872
- style: normalizeStyle(style.text0(propsItem_box))
22873
- }, toDisplayString(unref(formData_box)[propsItem_box.fieldName] ? unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
22873
+ style: normalizeStyle(style.text0(unref(propsItem_box)))
22874
+ }, toDisplayString(unref(formData_box)[unref(propsItem_box).fieldName] ? unref(formData_box)[unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
22874
22875
  : createCommentVNode("v-if", true),
22875
- (!propsItem_box.inputType)
22876
+ (!unref(propsItem_box).inputType)
22876
22877
  ? (openBlock(), createElementBlock("div", {
22877
22878
  key: 2,
22878
- style: normalizeStyle(style.text(propsItem_box, formProps_box))
22879
- }, toDisplayString(unref(formData_box)[propsItem_box.fieldName] ? unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
22879
+ style: normalizeStyle(style.text(unref(propsItem_box), unref(formProps_box)))
22880
+ }, toDisplayString(unref(formData_box)[unref(propsItem_box).fieldName] ? unref(formData_box)[unref(propsItem_box).fieldName] : ' '), 5 /* TEXT, STYLE */))
22880
22881
  : createCommentVNode("v-if", true),
22881
- (propsItem_box.inputType === 'expression')
22882
+ (unref(propsItem_box).inputType === 'expression')
22882
22883
  ? (openBlock(), createElementBlock("div", {
22883
22884
  key: 3,
22884
- style: normalizeStyle(style.text(propsItem_box, formProps_box))
22885
- }, toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: unref(formData_box), scopeThis: __props.scopeThis})
22886
- ? propsItem_box.hdlExpression({formData: unref(formData_box), scopeThis: scopeThis_box})
22885
+ style: normalizeStyle(style.text(unref(propsItem_box), unref(formProps_box)))
22886
+ }, toDisplayString(unref(propsItem_box).hdlExpression && unref(propsItem_box).hdlExpression({formData: unref(formData_box), scopeThis: __props.scopeThis})
22887
+ ? unref(propsItem_box).hdlExpression({formData: unref(formData_box), scopeThis: unref(scopeThis_box)})
22887
22888
  : ' '), 5 /* TEXT, STYLE */))
22888
22889
  : createCommentVNode("v-if", true),
22889
- (propsItem_box.inputType === 'expression0')
22890
+ (unref(propsItem_box).inputType === 'expression0')
22890
22891
  ? (openBlock(), createElementBlock("div", {
22891
22892
  key: 4,
22892
- style: normalizeStyle(style.text0(propsItem_box))
22893
- }, toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: unref(formData_box), scopeThis: scopeThis_box})
22894
- ? propsItem_box.hdlExpression({formData: unref(formData_box), scopeThis: scopeThis_box})
22893
+ style: normalizeStyle(style.text0(unref(propsItem_box)))
22894
+ }, toDisplayString(unref(propsItem_box).hdlExpression && unref(propsItem_box).hdlExpression({formData: unref(formData_box), scopeThis: unref(scopeThis_box)})
22895
+ ? unref(propsItem_box).hdlExpression({formData: unref(formData_box), scopeThis: unref(scopeThis_box)})
22895
22896
  : ' '), 5 /* TEXT, STYLE */))
22896
22897
  : createCommentVNode("v-if", true),
22897
- (propsItem_box.inputType === 'line')
22898
+ (unref(propsItem_box).inputType === 'line')
22898
22899
  ? (openBlock(), createElementBlock("div", {
22899
22900
  key: 5,
22900
22901
  style: normalizeStyle(style.line)
22901
22902
  }, null, 4 /* STYLE */))
22902
22903
  : createCommentVNode("v-if", true),
22903
22904
  createCommentVNode(" 修改数据 "),
22904
- (propsItem_box.inputType === 'input')
22905
+ (unref(propsItem_box).inputType === 'input')
22905
22906
  ? (openBlock(), createBlock(_component_el_input, {
22906
22907
  key: 6,
22907
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22908
- "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22908
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22909
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22909
22910
  placeholder: input.placeholder,
22910
- style: normalizeStyle(style.input(propsItem_box, formProps_box)),
22911
+ style: normalizeStyle(style.input(unref(propsItem_box), unref(formProps_box))),
22911
22912
  onInput: input.hdlCannotInput,
22912
22913
  "show-password": input.showPassword
22913
22914
  }, null, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onInput", "show-password"]))
22914
22915
  : createCommentVNode("v-if", true),
22915
- (propsItem_box.inputType === 'select')
22916
+ (unref(propsItem_box).inputType === 'select')
22916
22917
  ? (openBlock(), createBlock(_component_el_select, {
22917
22918
  key: 7,
22918
22919
  class: "deep-input",
22919
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22920
- "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22920
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22921
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22921
22922
  placeholder: select.placeholder,
22922
22923
  filterable: "",
22923
- style: normalizeStyle(style.input(propsItem_box, formProps_box)),
22924
+ style: normalizeStyle(style.input(unref(propsItem_box), unref(formProps_box))),
22924
22925
  onChange: select.hdlChange
22925
22926
  }, {
22926
22927
  default: withCtx(() => [
22927
22928
  (openBlock(true), createElementBlock(Fragment, null, renderList(select.items, (item0, index0) => {
22928
22929
  return (openBlock(), createBlock(_component_el_option, {
22929
- label: item0[propsItem_box.item_fieldLabel],
22930
- value: item0[propsItem_box.item_fieldValue],
22930
+ label: item0[unref(propsItem_box).item_fieldLabel],
22931
+ value: item0[unref(propsItem_box).item_fieldValue],
22931
22932
  key: index0
22932
22933
  }, null, 8 /* PROPS */, ["label", "value"]))
22933
22934
  }), 128 /* KEYED_FRAGMENT */))
@@ -22935,61 +22936,61 @@ return (_ctx, _cache) => {
22935
22936
  _: 1 /* STABLE */
22936
22937
  }, 8 /* PROPS */, ["modelValue", "placeholder", "style", "onChange"]))
22937
22938
  : createCommentVNode("v-if", true),
22938
- (propsItem_box.inputType === 'date-picker')
22939
+ (unref(propsItem_box).inputType === 'date-picker')
22939
22940
  ? (openBlock(), createBlock(_component_el_date_picker, {
22940
22941
  key: 8,
22941
22942
  class: "deep-input",
22942
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22943
- "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22944
- type: propsItem_box.type ? propsItem_box.type : 'datetime',
22943
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22944
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22945
+ type: unref(propsItem_box).type ? unref(propsItem_box).type : 'datetime',
22945
22946
  placeholder: datePicker.placeholder,
22946
22947
  format: datePicker.format,
22947
- style: normalizeStyle(style.input(propsItem_box, formProps_box)),
22948
+ style: normalizeStyle(style.input(unref(propsItem_box), unref(formProps_box))),
22948
22949
  onChange: datePicker.hdlChange
22949
22950
  }, null, 8 /* PROPS */, ["modelValue", "type", "placeholder", "format", "style", "onChange"]))
22950
22951
  : createCommentVNode("v-if", true),
22951
- (propsItem_box.inputType === 'input-number')
22952
+ (unref(propsItem_box).inputType === 'input-number')
22952
22953
  ? (openBlock(), createBlock(_component_el_input_number, {
22953
22954
  key: 9,
22954
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22955
- "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22956
- size: style.input_number(propsItem_box).facade.size,
22957
- min: 'min' in propsItem_box ? propsItem_box.min : 1,
22958
- max: 'max' in propsItem_box ? propsItem_box.max : 100,
22959
- step: 'step' in propsItem_box ? propsItem_box.step : 1,
22960
- "step-strictly": 'step_strictly' in propsItem_box ? propsItem_box.step_strictly : true
22955
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22956
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22957
+ size: style.input_number(unref(propsItem_box)).facade.size,
22958
+ min: 'min' in unref(propsItem_box) ? unref(propsItem_box).min : 1,
22959
+ max: 'max' in unref(propsItem_box) ? unref(propsItem_box).max : 100,
22960
+ step: 'step' in unref(propsItem_box) ? unref(propsItem_box).step : 1,
22961
+ "step-strictly": 'step_strictly' in unref(propsItem_box) ? unref(propsItem_box).step_strictly : true
22961
22962
  }, null, 8 /* PROPS */, ["modelValue", "size", "min", "max", "step", "step-strictly"]))
22962
22963
  : createCommentVNode("v-if", true),
22963
- (propsItem_box.inputType === 'switch')
22964
+ (unref(propsItem_box).inputType === 'switch')
22964
22965
  ? (openBlock(), createBlock(_component_el_switch, {
22965
22966
  key: 10,
22966
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22967
- "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22968
- "active-text": propsItem_box.activeText,
22969
- "inactive-text": propsItem_box.inactiveText,
22970
- "active-value": propsItem_box.activeValue,
22971
- "inactive-value": propsItem_box.inactiveValue,
22972
- "active-color": style.el_switch(propsItem_box).facade.active_color,
22973
- disabled: !!('disabled' in propsItem_box && (propsItem_box.disabled === true || propsItem_box.disabled === 'true')),
22967
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22968
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22969
+ "active-text": unref(propsItem_box).activeText,
22970
+ "inactive-text": unref(propsItem_box).inactiveText,
22971
+ "active-value": unref(propsItem_box).activeValue,
22972
+ "inactive-value": unref(propsItem_box).inactiveValue,
22973
+ "active-color": style.el_switch(unref(propsItem_box)).facade.active_color,
22974
+ disabled: !!('disabled' in unref(propsItem_box) && (unref(propsItem_box).disabled === true || unref(propsItem_box).disabled === 'true')),
22974
22975
  onChange: ly0switch.hdlChange
22975
22976
  }, null, 8 /* PROPS */, ["modelValue", "active-text", "inactive-text", "active-value", "inactive-value", "active-color", "disabled", "onChange"]))
22976
22977
  : createCommentVNode("v-if", true),
22977
- (propsItem_box.inputType === 'radio-group')
22978
+ (unref(propsItem_box).inputType === 'radio-group')
22978
22979
  ? (openBlock(), createBlock(_component_el_radio_group, {
22979
22980
  key: 11,
22980
- modelValue: unref(formData_box)[propsItem_box.fieldName],
22981
- "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
22982
- disabled: !!propsItem_box.disabled,
22981
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
22982
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
22983
+ disabled: !!unref(propsItem_box).disabled,
22983
22984
  onChange: radioGroup.hdlChange
22984
22985
  }, {
22985
22986
  default: withCtx(() => [
22986
- (openBlock(true), createElementBlock(Fragment, null, renderList(propsItem_box.items, (item0, index0) => {
22987
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(propsItem_box).items, (item0, index0) => {
22987
22988
  return (openBlock(), createBlock(_component_el_radio, {
22988
22989
  key: index0,
22989
- label: item0[propsItem_box.item_fieldValue]
22990
+ label: item0[unref(propsItem_box).item_fieldValue]
22990
22991
  }, {
22991
22992
  default: withCtx(() => [
22992
- createTextVNode(toDisplayString(item0[propsItem_box.item_fieldLabel]), 1 /* TEXT */)
22993
+ createTextVNode(toDisplayString(item0[unref(propsItem_box).item_fieldLabel]), 1 /* TEXT */)
22993
22994
  ]),
22994
22995
  _: 2 /* DYNAMIC */
22995
22996
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label"]))
@@ -22998,9 +22999,9 @@ return (_ctx, _cache) => {
22998
22999
  _: 1 /* STABLE */
22999
23000
  }, 8 /* PROPS */, ["modelValue", "disabled", "onChange"]))
23000
23001
  : createCommentVNode("v-if", true),
23001
- (propsItem_box.inputType === 'button-group' && propsItem_box.box && propsItem_box.box.length > 0)
23002
+ (unref(propsItem_box).inputType === 'button-group' && unref(propsItem_box).box && unref(propsItem_box).box.length > 0)
23002
23003
  ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
23003
- (openBlock(true), createElementBlock(Fragment, null, renderList(propsItem_box.box, (item0, index0) => {
23004
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(propsItem_box).box, (item0, index0) => {
23004
23005
  return (openBlock(), createBlock(_component_el_button_group, {
23005
23006
  key: index0,
23006
23007
  style: normalizeStyle(style.button_group().group.style)
@@ -23016,14 +23017,14 @@ return (_ctx, _cache) => {
23016
23017
  }, {
23017
23018
  default: withCtx(() => [
23018
23019
  (openBlock(), createBlock(_component_el_button, {
23019
- style: normalizeStyle(style.button_group(propsItem_box, item0, item1).button.style),
23020
- icon: style.button_group(propsItem_box, item0, item1).button.icon,
23021
- type: style.button_group(propsItem_box, item0, item1).button.facade.type,
23022
- size: style.button_group(propsItem_box, item0, item1).button.facade.size,
23023
- plain: style.button_group(propsItem_box, item0, item1).button.facade.plain,
23024
- round: style.button_group(propsItem_box, item0, item1).button.facade.round,
23025
- circle: style.button_group(propsItem_box, item0, item1).button.facade.circle,
23026
- onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: unref(formData_box), scopeThis: scopeThis_box}) : null),
23020
+ style: normalizeStyle(style.button_group(unref(propsItem_box), item0, item1).button.style),
23021
+ icon: style.button_group(unref(propsItem_box), item0, item1).button.icon,
23022
+ type: style.button_group(unref(propsItem_box), item0, item1).button.facade.type,
23023
+ size: style.button_group(unref(propsItem_box), item0, item1).button.facade.size,
23024
+ plain: style.button_group(unref(propsItem_box), item0, item1).button.facade.plain,
23025
+ round: style.button_group(unref(propsItem_box), item0, item1).button.facade.round,
23026
+ circle: style.button_group(unref(propsItem_box), item0, item1).button.facade.circle,
23027
+ onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: unref(formData_box), scopeThis: unref(scopeThis_box)}) : null),
23027
23028
  key: index1
23028
23029
  }, {
23029
23030
  default: withCtx(() => [
@@ -23045,11 +23046,11 @@ return (_ctx, _cache) => {
23045
23046
  : createCommentVNode("v-if", true),
23046
23047
  createCommentVNode(" 图片&富文本&视频 "),
23047
23048
  createCommentVNode(" 图片 "),
23048
- (propsItem_box.inputType === 'image')
23049
+ (unref(propsItem_box).inputType === 'image')
23049
23050
  ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
23050
23051
  createElementVNode("div", null, [
23051
23052
  createVNode(_component_el_image, {
23052
- style: normalizeStyle(style.image(propsItem_box, formProps_box)),
23053
+ style: normalizeStyle(style.image(unref(propsItem_box), unref(formProps_box))),
23053
23054
  src: image.getSrc[0],
23054
23055
  "preview-src-list": image.getSrc,
23055
23056
  "preview-teleported": true,
@@ -23057,15 +23058,15 @@ return (_ctx, _cache) => {
23057
23058
  }, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
23058
23059
  ]),
23059
23060
  createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
23060
- (!!propsItem_box.imageDelete && !!unref(formData_box)[propsItem_box.fieldName])
23061
+ (!!unref(propsItem_box).imageDelete && !!unref(formData_box)[unref(propsItem_box).fieldName])
23061
23062
  ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
23062
23063
  createVNode(_component_el_button, {
23063
23064
  size: "small",
23064
- icon: !unref(formData_box)[propsItem_box.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
23065
+ icon: !unref(formData_box)[unref(propsItem_box).imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
23065
23066
  onClick: image.delete
23066
23067
  }, {
23067
23068
  default: withCtx(() => [
23068
- createTextVNode(toDisplayString(unref(formData_box)[propsItem_box.imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
23069
+ createTextVNode(toDisplayString(unref(formData_box)[unref(propsItem_box).imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
23069
23070
  ]),
23070
23071
  _: 1 /* STABLE */
23071
23072
  }, 8 /* PROPS */, ["icon", "onClick"])
@@ -23074,21 +23075,21 @@ return (_ctx, _cache) => {
23074
23075
  ]))
23075
23076
  : createCommentVNode("v-if", true),
23076
23077
  createCommentVNode(" 多个图片 "),
23077
- (propsItem_box.inputType === 'images')
23078
+ (unref(propsItem_box).inputType === 'images')
23078
23079
  ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
23079
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(formData_box)[propsItem_box.fieldName], (itemImages, indexImages) => {
23080
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(formData_box)[unref(propsItem_box).fieldName], (itemImages, indexImages) => {
23080
23081
  return (openBlock(), createElementBlock("div", {
23081
23082
  key: indexImages,
23082
- style: normalizeStyle(style.images(propsItem_box, formProps_box).itemBox)
23083
+ style: normalizeStyle(style.images(unref(propsItem_box), unref(formProps_box)).itemBox)
23083
23084
  }, [
23084
23085
  createElementVNode("div", null, [
23085
23086
  createVNode(_component_el_image, {
23086
- style: normalizeStyle(style.images(propsItem_box, formProps_box).itemThumb),
23087
+ style: normalizeStyle(style.images(unref(propsItem_box), unref(formProps_box)).itemThumb),
23087
23088
  src: images.getSrc(itemImages, indexImages),
23088
23089
  "preview-src-list": images.show
23089
23090
  }, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
23090
23091
  ]),
23091
- (!!propsItem_box.imageDelete)
23092
+ (!!unref(propsItem_box).imageDelete)
23092
23093
  ? (openBlock(), createElementBlock("div", _hoisted_6, [
23093
23094
  createVNode(_component_el_button, {
23094
23095
  size: "small",
@@ -23096,7 +23097,7 @@ return (_ctx, _cache) => {
23096
23097
  onClick: $event => (images.delete(itemImages, indexImages))
23097
23098
  }, {
23098
23099
  default: withCtx(() => [
23099
- createTextVNode(toDisplayString(unref(formData_box)[propsItem_box.imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
23100
+ createTextVNode(toDisplayString(unref(formData_box)[unref(propsItem_box).imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
23100
23101
  ]),
23101
23102
  _: 2 /* DYNAMIC */
23102
23103
  }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
@@ -23107,33 +23108,33 @@ return (_ctx, _cache) => {
23107
23108
  ]))
23108
23109
  : createCommentVNode("v-if", true),
23109
23110
  createCommentVNode(" 富文本 "),
23110
- (propsItem_box.inputType === 'richtext')
23111
+ (unref(propsItem_box).inputType === 'richtext')
23111
23112
  ? (openBlock(), createElementBlock("div", {
23112
23113
  key: 15,
23113
- style: normalizeStyle(style.richtext(propsItem_box, formProps_box))
23114
+ style: normalizeStyle(style.richtext(unref(propsItem_box), unref(formProps_box)))
23114
23115
  }, [
23115
23116
  createVNode(_component_ly0Richtext, {
23116
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23117
- "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23117
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23118
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23118
23119
  myProps: richtextProps.value
23119
23120
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23120
23121
  ], 4 /* STYLE */))
23121
23122
  : createCommentVNode("v-if", true),
23122
23123
  createCommentVNode(" 富文本show "),
23123
- (propsItem_box.inputType === 'richtextShow')
23124
+ (unref(propsItem_box).inputType === 'richtextShow')
23124
23125
  ? (openBlock(), createElementBlock("div", _hoisted_7, [
23125
23126
  createElementVNode("div", {
23126
- innerHTML: unref(formData_box)[propsItem_box.fieldName]
23127
+ innerHTML: unref(formData_box)[unref(propsItem_box).fieldName]
23127
23128
  }, null, 8 /* PROPS */, _hoisted_8)
23128
23129
  ]))
23129
23130
  : createCommentVNode("v-if", true),
23130
23131
  createCommentVNode(" 视频 "),
23131
- (propsItem_box.inputType === 'video')
23132
+ (unref(propsItem_box).inputType === 'video')
23132
23133
  ? (openBlock(), createElementBlock("div", _hoisted_9, [
23133
23134
  createElementVNode("div", null, [
23134
23135
  createElementVNode("video", {
23135
- width: style.video(propsItem_box, formProps_box).width,
23136
- height: style.video(propsItem_box, formProps_box).height,
23136
+ width: style.video(unref(propsItem_box), unref(formProps_box)).width,
23137
+ height: style.video(unref(propsItem_box), unref(formProps_box)).height,
23137
23138
  controls: "",
23138
23139
  poster: video.poster
23139
23140
  }, [
@@ -23155,15 +23156,15 @@ return (_ctx, _cache) => {
23155
23156
  ], 8 /* PROPS */, _hoisted_10)
23156
23157
  ]),
23157
23158
  createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
23158
- (!!propsItem_box.videoDelete && !!unref(formData_box)[propsItem_box.fieldName])
23159
+ (!!unref(propsItem_box).videoDelete && !!unref(formData_box)[unref(propsItem_box).fieldName])
23159
23160
  ? (openBlock(), createElementBlock("div", _hoisted_14, [
23160
23161
  createVNode(_component_el_button, {
23161
23162
  size: "small",
23162
- icon: !unref(formData_box)[propsItem_box.videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
23163
+ icon: !unref(formData_box)[unref(propsItem_box).videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
23163
23164
  onClick: video.delete
23164
23165
  }, {
23165
23166
  default: withCtx(() => [
23166
- createTextVNode(toDisplayString(!!unref(formData_box)[propsItem_box.videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
23167
+ createTextVNode(toDisplayString(!!unref(formData_box)[unref(propsItem_box).videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
23167
23168
  ]),
23168
23169
  _: 1 /* STABLE */
23169
23170
  }, 8 /* PROPS */, ["icon", "onClick"])
@@ -23173,9 +23174,9 @@ return (_ctx, _cache) => {
23173
23174
  : createCommentVNode("v-if", true),
23174
23175
  createCommentVNode(" 上传及下载 "),
23175
23176
  createCommentVNode(" 下载 "),
23176
- (propsItem_box.inputType === 'download')
23177
+ (unref(propsItem_box).inputType === 'download')
23177
23178
  ? (openBlock(), createElementBlock("div", _hoisted_15, [
23178
- (unref(formData_box)[propsItem_box.fieldName])
23179
+ (unref(formData_box)[unref(propsItem_box).fieldName])
23179
23180
  ? (openBlock(), createElementBlock("a", {
23180
23181
  key: 0,
23181
23182
  style: normalizeStyle(style.download.style),
@@ -23191,134 +23192,134 @@ return (_ctx, _cache) => {
23191
23192
  ]))
23192
23193
  : createCommentVNode("v-if", true),
23193
23194
  createCommentVNode(" 上传多个文件 "),
23194
- (propsItem_box.inputType === 'upload')
23195
+ (unref(propsItem_box).inputType === 'upload')
23195
23196
  ? (openBlock(), createElementBlock("div", _hoisted_17, [
23196
23197
  createVNode(_component_ly0Upload, {
23197
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23198
- "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23198
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23199
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23199
23200
  myProps: {uploadUrl: upload.uploadUrl}
23200
23201
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23201
23202
  ]))
23202
23203
  : createCommentVNode("v-if", true),
23203
23204
  createCommentVNode(" 拖拽上传 "),
23204
- (propsItem_box.inputType === 'upload-drag')
23205
+ (unref(propsItem_box).inputType === 'upload-drag')
23205
23206
  ? (openBlock(), createElementBlock("div", _hoisted_18, [
23206
23207
  createVNode(_component_ly0Upload_drag, {
23207
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23208
- "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23208
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23209
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23209
23210
  myProps: {uploadUrl: upload.uploadUrl}
23210
23211
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23211
23212
  ]))
23212
23213
  : createCommentVNode("v-if", true),
23213
23214
  createCommentVNode(" 图片列表 "),
23214
- (propsItem_box.inputType === 'upload-picture')
23215
+ (unref(propsItem_box).inputType === 'upload-picture')
23215
23216
  ? (openBlock(), createElementBlock("div", _hoisted_19, [
23216
23217
  createVNode(_component_ly0Upload_picture, {
23217
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23218
- "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23218
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23219
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23219
23220
  myProps: {uploadUrl: upload.uploadUrl_image}
23220
23221
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23221
23222
  ]))
23222
23223
  : createCommentVNode("v-if", true),
23223
23224
  createCommentVNode(" 图片墙 "),
23224
- (propsItem_box.inputType === 'upload-picture-card')
23225
+ (unref(propsItem_box).inputType === 'upload-picture-card')
23225
23226
  ? (openBlock(), createElementBlock("div", _hoisted_20, [
23226
23227
  createVNode(_component_ly0Upload_pictureCard, {
23227
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23228
- "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23228
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23229
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23229
23230
  myProps: {uploadUrl: upload.uploadUrl_image}
23230
23231
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23231
23232
  ]))
23232
23233
  : createCommentVNode("v-if", true),
23233
23234
  createCommentVNode(" 头像 "),
23234
- (propsItem_box.inputType === 'upload-avatar')
23235
+ (unref(propsItem_box).inputType === 'upload-avatar')
23235
23236
  ? (openBlock(), createElementBlock("div", _hoisted_21, [
23236
23237
  createVNode(_component_ly0Upload_avatar, {
23237
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23238
- "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23238
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23239
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23239
23240
  myProps: {uploadUrl: upload.uploadUrl_image}
23240
23241
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23241
23242
  ]))
23242
23243
  : createCommentVNode("v-if", true),
23243
23244
  createCommentVNode(" 车牌识别 "),
23244
- (propsItem_box.inputType === 'upload-carplate')
23245
+ (unref(propsItem_box).inputType === 'upload-carplate')
23245
23246
  ? (openBlock(), createElementBlock("div", _hoisted_22, [
23246
23247
  createVNode(_component_ly0Upload_carplate, {
23247
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23248
- "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23248
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23249
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23249
23250
  myProps: {uploadUrl: upload.uploadUrl_carplate}
23250
23251
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23251
23252
  ]))
23252
23253
  : createCommentVNode("v-if", true),
23253
23254
  createCommentVNode(" 行政区划 "),
23254
- (propsItem_box.inputType === 'd3gbt2260')
23255
+ (unref(propsItem_box).inputType === 'd3gbt2260')
23255
23256
  ? (openBlock(), createElementBlock("div", _hoisted_23, [
23256
23257
  createVNode(_component_ly0gbt2260, {
23257
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23258
- "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23259
- myProps: {readOnly: propsItem_box.readOnly}
23258
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23259
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23260
+ myProps: {readOnly: unref(propsItem_box).readOnly}
23260
23261
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23261
23262
  ]))
23262
23263
  : createCommentVNode("v-if", true),
23263
23264
  createCommentVNode(" 商品分类 "),
23264
- (propsItem_box.inputType === 'd7group')
23265
+ (unref(propsItem_box).inputType === 'd7group')
23265
23266
  ? (openBlock(), createElementBlock("div", _hoisted_24, [
23266
23267
  createVNode(_component_ly0d7group, {
23267
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23268
- "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23269
- myProps: {readOnly: propsItem_box.readOnly}
23268
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23269
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23270
+ myProps: {readOnly: unref(propsItem_box).readOnly}
23270
23271
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23271
23272
  ]))
23272
23273
  : createCommentVNode("v-if", true),
23273
23274
  createCommentVNode(" 邮寄地址 "),
23274
- (propsItem_box.inputType === 'd7postal')
23275
+ (unref(propsItem_box).inputType === 'd7postal')
23275
23276
  ? (openBlock(), createElementBlock("div", _hoisted_25, [
23276
23277
  createVNode(_component_ly0d7postal, {
23277
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23278
- "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23279
- myProps: {readOnly: propsItem_box.readOnly}
23278
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23279
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23280
+ myProps: {readOnly: unref(propsItem_box).readOnly}
23280
23281
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23281
23282
  ]))
23282
23283
  : createCommentVNode("v-if", true),
23283
23284
  createCommentVNode(" 商品标价 "),
23284
- (propsItem_box.inputType === 'd7price')
23285
+ (unref(propsItem_box).inputType === 'd7price')
23285
23286
  ? (openBlock(), createElementBlock("div", _hoisted_26, [
23286
23287
  createVNode(_component_ly0d7price, {
23287
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23288
- "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23289
- myProps: {readOnly: propsItem_box.readOnly}
23288
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23289
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23290
+ myProps: {readOnly: unref(propsItem_box).readOnly}
23290
23291
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23291
23292
  ]))
23292
23293
  : createCommentVNode("v-if", true),
23293
23294
  createCommentVNode(" 商品规格 "),
23294
- (propsItem_box.inputType === 'd7size')
23295
+ (unref(propsItem_box).inputType === 'd7size')
23295
23296
  ? (openBlock(), createElementBlock("div", _hoisted_27, [
23296
23297
  createVNode(_component_ly0d7size, {
23297
- modelValue: unref(formData_box)[propsItem_box.fieldName],
23298
- "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((unref(formData_box)[propsItem_box.fieldName]) = $event)),
23299
- myProps: {readOnly: propsItem_box.readOnly}
23298
+ modelValue: unref(formData_box)[unref(propsItem_box).fieldName],
23299
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((unref(formData_box)[unref(propsItem_box).fieldName]) = $event)),
23300
+ myProps: {readOnly: unref(propsItem_box).readOnly}
23300
23301
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23301
23302
  ]))
23302
23303
  : createCommentVNode("v-if", true),
23303
23304
  createCommentVNode(" 商品缩略图 "),
23304
- (propsItem_box.inputType === 'd7thumb')
23305
+ (unref(propsItem_box).inputType === 'd7thumb')
23305
23306
  ? (openBlock(), createElementBlock("div", _hoisted_28, [
23306
23307
  createVNode(_component_ly0d7thumb, {
23307
23308
  modelValue: unref(formData_box),
23308
23309
  "onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23309
23310
  myProps: {
23310
23311
  thumb: {
23311
- fieldName: propsItem_box.thumb.fieldName || formProps_box.para.ly0d7thumb.thumb.fieldName,
23312
- width: propsItem_box.thumb.width || formProps_box.para.ly0d7thumb.thumb.width,
23313
- height: propsItem_box.thumb.height || formProps_box.para.ly0d7thumb.thumb.height
23312
+ fieldName: unref(propsItem_box).thumb.fieldName || unref(formProps_box).para.ly0d7thumb.thumb.fieldName,
23313
+ width: unref(propsItem_box).thumb.width || unref(formProps_box).para.ly0d7thumb.thumb.width,
23314
+ height: unref(propsItem_box).thumb.height || unref(formProps_box).para.ly0d7thumb.thumb.height
23314
23315
  },
23315
23316
  name: {
23316
- fieldName: propsItem_box.name.fieldName || formProps_box.para.ly0d7thumb.name.fieldName,
23317
+ fieldName: unref(propsItem_box).name.fieldName || unref(formProps_box).para.ly0d7thumb.name.fieldName,
23317
23318
  },
23318
23319
  number: {
23319
- fieldName: propsItem_box.number.fieldName || formProps_box.para.ly0d7thumb.number.fieldName,
23320
+ fieldName: unref(propsItem_box).number.fieldName || unref(formProps_box).para.ly0d7thumb.number.fieldName,
23320
23321
  },
23321
- readOnly: propsItem_box.readOnly
23322
+ readOnly: unref(propsItem_box).readOnly
23322
23323
  }
23323
23324
  }, null, 8 /* PROPS */, ["modelValue", "myProps"])
23324
23325
  ]))
@@ -23359,9 +23360,10 @@ var script$f = {
23359
23360
 
23360
23361
  const props = __props;
23361
23362
 
23363
+ // props属性包装,使得页面和js使用相同的命名
23362
23364
  let formData_box = props.modelValue;
23363
- const formProps_box = reactive(Object.assign({}, props.myProps));
23364
- const scopeThis_box = reactive(props.scopeThis);
23365
+ const formProps_box = props.myProps;
23366
+ const scopeThis_box = props.scopeThis;
23365
23367
 
23366
23368
  const style = reactive({
23367
23369
  collapse: styleModule.collapse,
@@ -23422,10 +23424,10 @@ return (_ctx, _cache) => {
23422
23424
 
23423
23425
  return (openBlock(), createElementBlock(Fragment, null, [
23424
23426
  createCommentVNode(" 置顶菜单 "),
23425
- (formProps_box.menu && formProps_box.menu.menu && formProps_box.menu.menu.length > 0)
23427
+ (unref(formProps_box).menu && unref(formProps_box).menu.menu && unref(formProps_box).menu.menu.length > 0)
23426
23428
  ? (openBlock(), createBlock(_component_ly0Menu, {
23427
23429
  key: 0,
23428
- myProps: formProps_box.menu,
23430
+ myProps: unref(formProps_box).menu,
23429
23431
  scopeThis: __props.scopeThis
23430
23432
  }, null, 8 /* PROPS */, ["myProps", "scopeThis"]))
23431
23433
  : createCommentVNode("v-if", true),
@@ -23433,13 +23435,13 @@ return (_ctx, _cache) => {
23433
23435
  createElementVNode("div", {
23434
23436
  style: normalizeStyle(style.root_box)
23435
23437
  }, [
23436
- (openBlock(true), createElementBlock(Fragment, null, renderList(formProps_box.cols, (item, index) => {
23438
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(formProps_box).cols, (item, index) => {
23437
23439
  return (openBlock(), createElementBlock("div", { key: index }, [
23438
23440
  createElementVNode("table", null, [
23439
23441
  createElementVNode("tbody", null, [
23440
23442
  (openBlock(true), createElementBlock(Fragment, null, renderList(item.items, (item0, index0) => {
23441
23443
  return (openBlock(), createElementBlock(Fragment, { key: index0 }, [
23442
- (item0.hdlVisible ? item0.hdlVisible({formData: unref(formData_box), scopeThis: scopeThis_box}) : true)
23444
+ (item0.hdlVisible ? item0.hdlVisible({formData: unref(formData_box), scopeThis: unref(scopeThis_box)}) : true)
23443
23445
  ? (openBlock(), createElementBlock("tr", _hoisted_1$c, [
23444
23446
  (!!item0.label)
23445
23447
  ? (openBlock(), createElementBlock("td", {
@@ -23449,8 +23451,8 @@ return (_ctx, _cache) => {
23449
23451
  createVNode(script$h, {
23450
23452
  modelValue: unref(formData_box),
23451
23453
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23452
- myProps: formProps_box,
23453
- scopeThis: scopeThis_box,
23454
+ myProps: unref(formProps_box),
23455
+ scopeThis: unref(scopeThis_box),
23454
23456
  item: item0
23455
23457
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
23456
23458
  ], 4 /* STYLE */))
@@ -23473,7 +23475,7 @@ return (_ctx, _cache) => {
23473
23475
  default: withCtx(() => [
23474
23476
  (openBlock(true), createElementBlock(Fragment, null, renderList(item0.items, (item1, index1) => {
23475
23477
  return (openBlock(), createElementBlock(Fragment, { key: index1 }, [
23476
- (item1.hdlVisible ? item1.hdlVisible({formData: unref(formData_box), scopeThis: scopeThis_box}) : true)
23478
+ (item1.hdlVisible ? item1.hdlVisible({formData: unref(formData_box), scopeThis: unref(scopeThis_box)}) : true)
23477
23479
  ? (openBlock(), createBlock(_component_el_collapse_item, {
23478
23480
  key: 0,
23479
23481
  title: item1.title,
@@ -23487,7 +23489,7 @@ return (_ctx, _cache) => {
23487
23489
  return (openBlock(), createElementBlock(Fragment, { key: index2 }, [
23488
23490
  (
23489
23491
  item2.hdlVisible
23490
- ? item2.hdlVisible({formData: unref(formData_box), scopeThis: scopeThis_box})
23492
+ ? item2.hdlVisible({formData: unref(formData_box), scopeThis: unref(scopeThis_box)})
23491
23493
  : true
23492
23494
  )
23493
23495
  ? (openBlock(), createElementBlock("tr", _hoisted_3$5, [
@@ -23499,8 +23501,8 @@ return (_ctx, _cache) => {
23499
23501
  createVNode(script$h, {
23500
23502
  modelValue: unref(formData_box),
23501
23503
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23502
- myProps: formProps_box,
23503
- scopeThis: scopeThis_box,
23504
+ myProps: unref(formProps_box),
23505
+ scopeThis: unref(scopeThis_box),
23504
23506
  item: item2
23505
23507
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
23506
23508
  ], 4 /* STYLE */))
@@ -23512,8 +23514,8 @@ return (_ctx, _cache) => {
23512
23514
  createVNode(script$g, {
23513
23515
  modelValue: unref(formData_box),
23514
23516
  "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23515
- myProps: formProps_box,
23516
- scopeThis: scopeThis_box,
23517
+ myProps: unref(formProps_box),
23518
+ scopeThis: unref(scopeThis_box),
23517
23519
  item: item2
23518
23520
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
23519
23521
  ], 12 /* STYLE, PROPS */, _hoisted_4$3)
@@ -23535,8 +23537,8 @@ return (_ctx, _cache) => {
23535
23537
  createVNode(script$g, {
23536
23538
  modelValue: unref(formData_box),
23537
23539
  "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23538
- myProps: formProps_box,
23539
- scopeThis: scopeThis_box,
23540
+ myProps: unref(formProps_box),
23541
+ scopeThis: unref(scopeThis_box),
23540
23542
  item: item0
23541
23543
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis", "item"])
23542
23544
  ], 12 /* STYLE, PROPS */, _hoisted_2$c)
@@ -23550,7 +23552,7 @@ return (_ctx, _cache) => {
23550
23552
  }), 128 /* KEYED_FRAGMENT */))
23551
23553
  ], 4 /* STYLE */),
23552
23554
  createCommentVNode(" 提交 "),
23553
- (formProps_box.submit.switch)
23555
+ (unref(formProps_box).submit.switch)
23554
23556
  ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
23555
23557
  createElementVNode("div", {
23556
23558
  style: normalizeStyle(style.line)
@@ -23602,7 +23604,7 @@ const props = __props;
23602
23604
 
23603
23605
  let formData_box = props.modelValue;
23604
23606
  const formProps_box = reactive(Object.assign({}, ly0default$2.myProps, props.myProps));
23605
- const scopeThis_box = reactive(props.scopeThis);
23607
+ const scopeThis_box = props.scopeThis;
23606
23608
 
23607
23609
  return (_ctx, _cache) => {
23608
23610
  const _component_el_dialog = resolveComponent("el-dialog");
@@ -23625,7 +23627,7 @@ return (_ctx, _cache) => {
23625
23627
  modelValue: unref(formData_box),
23626
23628
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23627
23629
  myProps: formProps_box,
23628
- scopeThis: scopeThis_box
23630
+ scopeThis: unref(scopeThis_box)
23629
23631
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"])
23630
23632
  ]),
23631
23633
  _: 1 /* STABLE */
@@ -23635,7 +23637,7 @@ return (_ctx, _cache) => {
23635
23637
  modelValue: unref(formData_box),
23636
23638
  "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
23637
23639
  myProps: formProps_box,
23638
- scopeThis: scopeThis_box
23640
+ scopeThis: unref(scopeThis_box)
23639
23641
  }, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"]))
23640
23642
  }
23641
23643
  }