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