@yoooloo42/joker 1.0.85 → 1.0.87

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
@@ -23302,6 +23302,8 @@ const formData = inject("formData");
23302
23302
  const formProps = inject("formProps");
23303
23303
  const scopeThis = inject("scopeThis");
23304
23304
 
23305
+ console.log('测试 000', formProps);
23306
+
23305
23307
  const style = reactive({
23306
23308
  collapse: styleModule.collapse,
23307
23309
  field_box: styleModule.field_box,
@@ -40914,9 +40916,10 @@ const props = __props;
40914
40916
  const emit = __emit;
40915
40917
 
40916
40918
  const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
40917
- const fileList_box = reactive([]);
40919
+ // 在这里,const ... reactive不能用于双向绑定:v-model:file-list="fileList_box"
40920
+ const fileList_box = ref([]);
40918
40921
  props.modelValue.forEach((item, index) => {
40919
- fileList_box.push({
40922
+ fileList_box.value.push({
40920
40923
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
40921
40924
  url: item,
40922
40925
  response: {
@@ -40947,9 +40950,9 @@ const hdl = {
40947
40950
  },
40948
40951
  remove (file, fileList) { // 文件列表移除文件时的钩子
40949
40952
  // 重置文件列表, 注意:通过使用splice保持响应性
40950
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
40953
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
40951
40954
  const arr = [];
40952
- fileList_box.forEach(i=>{
40955
+ fileList_box.value.forEach(i=>{
40953
40956
  arr.push(i.response.data.src);
40954
40957
  });
40955
40958
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -40957,10 +40960,10 @@ const hdl = {
40957
40960
  },
40958
40961
  success (response, file, fileList) { // 上传成功
40959
40962
  // 重置文件列表, 注意:通过使用splice保持响应性
40960
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
40963
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
40961
40964
  if (response.code === 0) {
40962
40965
  const arr = [];
40963
- fileList_box.forEach(i=>{
40966
+ fileList_box.value.forEach(i=>{
40964
40967
  arr.push(i.response.data.src);
40965
40968
  });
40966
40969
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -40973,7 +40976,7 @@ const hdl = {
40973
40976
  },
40974
40977
  deleteAll () { // 删除全部已上传文件
40975
40978
  // 重置文件列表, 注意:通过使用splice保持响应性
40976
- fileList_box.splice(0, fileList_box.length);
40979
+ fileList_box.value.splice(0, fileList_box.value.length);
40977
40980
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
40978
40981
  emit("update:modelValue", []);
40979
40982
  }
@@ -40986,8 +40989,8 @@ return (_ctx, _cache) => {
40986
40989
  return (openBlock(), createElementBlock("div", null, [
40987
40990
  createVNode(_component_el_upload, {
40988
40991
  action: myProps_box.uploadUrl,
40989
- "file-list": fileList_box,
40990
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
40992
+ "file-list": fileList_box.value,
40993
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
40991
40994
  "list-type": "text",
40992
40995
  "before-upload": hdl.beforeUpload,
40993
40996
  "on-preview": hdl.preview,
@@ -41011,10 +41014,10 @@ return (_ctx, _cache) => {
41011
41014
  ]),
41012
41015
  _: 1 /* STABLE */
41013
41016
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41014
- (fileList_box.length>0)
41015
- ? (openBlock(), createElementBlock("div", _hoisted_2$b, toDisplayString("已上传"+fileList_box.length+"个文件"), 1 /* TEXT */))
41017
+ (fileList_box.value.length>0)
41018
+ ? (openBlock(), createElementBlock("div", _hoisted_2$b, toDisplayString("已上传"+fileList_box.value.length+"个文件"), 1 /* TEXT */))
41016
41019
  : createCommentVNode("v-if", true),
41017
- (fileList_box.length>0)
41020
+ (fileList_box.value.length>0)
41018
41021
  ? (openBlock(), createBlock(_component_el_button, {
41019
41022
  key: 1,
41020
41023
  size: "small",
@@ -41061,9 +41064,9 @@ const props = __props;
41061
41064
  const emit = __emit;
41062
41065
 
41063
41066
  const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41064
- const fileList_box = reactive([]);
41067
+ const fileList_box = ref([]);
41065
41068
  props.modelValue.forEach((item, index) => {
41066
- fileList_box.push({
41069
+ fileList_box.value.push({
41067
41070
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41068
41071
  url: item,
41069
41072
  response: {
@@ -41119,17 +41122,17 @@ const hdl = {
41119
41122
  remove (file, fileList) { // 文件列表移除文件时的钩子
41120
41123
  // 重置文件列表, 注意:通过使用splice保持响应性
41121
41124
  // 因为只能上传一个图片,移除即清空
41122
- fileList_box.splice(0, fileList_box.length);
41125
+ fileList_box.value.splice(0, fileList_box.value.length);
41123
41126
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41124
41127
  emit("update:modelValue", []);
41125
41128
  },
41126
41129
  success (response, file, fileList) { // 上传
41127
41130
  // 重置文件列表, 注意:通过使用splice保持响应性
41128
41131
  // 只能上传一个图片
41129
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41132
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41130
41133
  if (response.code === 0) {
41131
41134
  const arr = [];
41132
- fileList_box.forEach(i=>{
41135
+ fileList_box.value.forEach(i=>{
41133
41136
  arr.push(i.response.data.src);
41134
41137
  });
41135
41138
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41142,7 +41145,7 @@ const hdl = {
41142
41145
  },
41143
41146
  deleteAll () { // 删除全部已上传文件
41144
41147
  // 重置文件列表, 注意:通过使用splice保持响应性
41145
- fileList_box.splice(0, fileList_box.length);
41148
+ fileList_box.value.splice(0, fileList_box.value.length);
41146
41149
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41147
41150
  emit("update:modelValue", []);
41148
41151
  }
@@ -41159,8 +41162,8 @@ return (_ctx, _cache) => {
41159
41162
  class: "avatar",
41160
41163
  style: normalizeStyle(style.avatarBox),
41161
41164
  action: myProps_box.uploadUrl,
41162
- "file-list": fileList_box,
41163
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41165
+ "file-list": fileList_box.value,
41166
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41164
41167
  "show-file-list": false,
41165
41168
  "before-upload": hdl.beforeUpload,
41166
41169
  "on-preview": hdl.preview,
@@ -41169,10 +41172,10 @@ return (_ctx, _cache) => {
41169
41172
  limit: 1
41170
41173
  }, {
41171
41174
  default: withCtx(() => [
41172
- (fileList_box.length>0 && fileList_box[0].response && fileList_box[0].response.data && fileList_box[0].response.data.src)
41175
+ (fileList_box.value.length>0 && fileList_box.value[0].response && fileList_box.value[0].response.data && fileList_box.value[0].response.data.src)
41173
41176
  ? (openBlock(), createElementBlock("img", {
41174
41177
  key: 0,
41175
- src: fileList_box[0].response.data.src,
41178
+ src: fileList_box.value[0].response.data.src,
41176
41179
  class: "avatar",
41177
41180
  style: normalizeStyle(style.avatarImage)
41178
41181
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$a))
@@ -41189,7 +41192,7 @@ return (_ctx, _cache) => {
41189
41192
  ]),
41190
41193
  _: 1 /* STABLE */
41191
41194
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
41192
- (fileList_box.length>0 && fileList_box[0].response && fileList_box[0].response.data && fileList_box[0].response.data.src)
41195
+ (fileList_box.value.length>0 && fileList_box.value[0].response && fileList_box.value[0].response.data && fileList_box.value[0].response.data.src)
41193
41196
  ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
41194
41197
  createVNode(_component_el_button, {
41195
41198
  size: "small",
@@ -41248,9 +41251,9 @@ const myProps_box = reactive(Object.assign({}, ly0default, {
41248
41251
  }
41249
41252
  }, props.myProps));
41250
41253
 
41251
- const fileList_box = reactive([]);
41254
+ const fileList_box = ref([]);
41252
41255
  props.modelValue.forEach((item, index) => {
41253
- fileList_box.push({
41256
+ fileList_box.value.push({
41254
41257
  name: item.src.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41255
41258
  url: item.src,
41256
41259
  response: {
@@ -41309,7 +41312,7 @@ const hdl = {
41309
41312
  remove (file, fileList) { // 文件列表移除文件时的钩子
41310
41313
  // 重置文件列表, 注意:通过使用splice保持响应性
41311
41314
  // 因为只能上传一个图片,移除即清空
41312
- fileList_box.splice(0, fileList_box.length);
41315
+ fileList_box.value.splice(0, fileList_box.value.length);
41313
41316
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41314
41317
  emit("update:modelValue", []);
41315
41318
  }};
@@ -41325,8 +41328,8 @@ return (_ctx, _cache) => {
41325
41328
  class: "avatar",
41326
41329
  style: normalizeStyle(style.avatarBox),
41327
41330
  action: myProps_box.uploadUrl,
41328
- "file-list": fileList_box,
41329
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41331
+ "file-list": fileList_box.value,
41332
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41330
41333
  "show-file-list": false,
41331
41334
  "before-upload": hdl.beforeUpload,
41332
41335
  "on-preview": hdl.preview,
@@ -41335,15 +41338,15 @@ return (_ctx, _cache) => {
41335
41338
  }, {
41336
41339
  default: withCtx(() => [
41337
41340
  (
41338
- fileList_box.length>0 &&
41339
- fileList_box[0].response &&
41340
- fileList_box[0].response.data &&
41341
- fileList_box[0].response.data.src
41341
+ fileList_box.value.length>0 &&
41342
+ fileList_box.value[0].response &&
41343
+ fileList_box.value[0].response.data &&
41344
+ fileList_box.value[0].response.data.src
41342
41345
  )
41343
41346
  ? (openBlock(), createElementBlock("img", {
41344
41347
  key: 0,
41345
41348
  class: "avatar",
41346
- src: _ctx.fileList[0].response.data.src,
41349
+ src: fileList_box.value[0].response.data.src,
41347
41350
  style: normalizeStyle(style.avatarImage())
41348
41351
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$9))
41349
41352
  : (openBlock(), createBlock(_component_el_icon, {
@@ -41360,22 +41363,22 @@ return (_ctx, _cache) => {
41360
41363
  _: 1 /* STABLE */
41361
41364
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
41362
41365
  (
41363
- fileList_box.length>0 &&
41364
- fileList_box[0].response &&
41365
- fileList_box[0].response.data &&
41366
- fileList_box[0].response.data.result &&
41367
- fileList_box[0].response.data.result.txt
41366
+ fileList_box.value.length>0 &&
41367
+ fileList_box.value[0].response &&
41368
+ fileList_box.value[0].response.data &&
41369
+ fileList_box.value[0].response.data.result &&
41370
+ fileList_box.value[0].response.data.result.txt
41368
41371
  )
41369
41372
  ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
41370
41373
  _cache[1] || (_cache[1] = createElementVNode("span", null, "车牌识别结果:", -1 /* CACHED */)),
41371
- createElementVNode("span", _hoisted_3$4, toDisplayString(fileList_box[0].response.data.result.txt), 1 /* TEXT */)
41374
+ createElementVNode("span", _hoisted_3$4, toDisplayString(fileList_box.value[0].response.data.result.txt), 1 /* TEXT */)
41372
41375
  ]))
41373
41376
  : createCommentVNode("v-if", true),
41374
41377
  (
41375
- fileList_box.length>0 &&
41376
- fileList_box[0].response &&
41377
- fileList_box[0].response.data &&
41378
- fileList_box[0].response.data.src
41378
+ fileList_box.value.length>0 &&
41379
+ fileList_box.value[0].response &&
41380
+ fileList_box.value[0].response.data &&
41381
+ fileList_box.value[0].response.data.src
41379
41382
  )
41380
41383
  ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
41381
41384
  createVNode(_component_el_button, {
@@ -41429,9 +41432,9 @@ const props = __props;
41429
41432
  const emit = __emit;
41430
41433
 
41431
41434
  const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41432
- const fileList_box = reactive([]);
41435
+ const fileList_box = ref([]);
41433
41436
  props.modelValue.forEach((item, index) => {
41434
- fileList_box.push({
41437
+ fileList_box.value.push({
41435
41438
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41436
41439
  url: item,
41437
41440
  response: {
@@ -41462,9 +41465,9 @@ const hdl = {
41462
41465
  },
41463
41466
  remove (file, fileList) { // 文件列表移除文件时的钩子
41464
41467
  // 重置文件列表, 注意:通过使用splice保持响应性
41465
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41468
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41466
41469
  const arr = [];
41467
- fileList_box.forEach(i=>{
41470
+ fileList_box.value.forEach(i=>{
41468
41471
  arr.push(i.response.data.src);
41469
41472
  });
41470
41473
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41472,10 +41475,10 @@ const hdl = {
41472
41475
  },
41473
41476
  success (response, file, fileList) { // 上传
41474
41477
  // 重置文件列表, 注意:通过使用splice保持响应性
41475
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41478
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41476
41479
  if (response.code === 0) {
41477
41480
  const arr = [];
41478
- fileList_box.forEach(i=>{
41481
+ fileList_box.value.forEach(i=>{
41479
41482
  arr.push(i.response.data.src);
41480
41483
  });
41481
41484
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41488,7 +41491,7 @@ const hdl = {
41488
41491
  },
41489
41492
  deleteAll () { // 删除全部已上传文件
41490
41493
  // 重置文件列表, 注意:通过使用splice保持响应性
41491
- fileList_box.splice(0, fileList_box.length);
41494
+ fileList_box.value.splice(0, fileList_box.value.length);
41492
41495
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41493
41496
  emit("update:modelValue", []);
41494
41497
  }
@@ -41503,8 +41506,8 @@ return (_ctx, _cache) => {
41503
41506
  return (openBlock(), createElementBlock("div", null, [
41504
41507
  createVNode(_component_el_upload, {
41505
41508
  action: myProps_box.uploadUrl,
41506
- "file-list": fileList_box,
41507
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41509
+ "file-list": fileList_box.value,
41510
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41508
41511
  "list-type": "text",
41509
41512
  "before-upload": hdl.beforeUpload,
41510
41513
  "on-preview": hdl.preview,
@@ -41530,10 +41533,10 @@ return (_ctx, _cache) => {
41530
41533
  ]),
41531
41534
  _: 1 /* STABLE */
41532
41535
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41533
- (fileList_box.length>0)
41534
- ? (openBlock(), createElementBlock("div", _hoisted_2$8, toDisplayString("已上传"+fileList_box.length+"个文件"), 1 /* TEXT */))
41536
+ (fileList_box.value.length>0)
41537
+ ? (openBlock(), createElementBlock("div", _hoisted_2$8, toDisplayString("已上传"+fileList_box.value.length+"个文件"), 1 /* TEXT */))
41535
41538
  : createCommentVNode("v-if", true),
41536
- (fileList_box.length>0)
41539
+ (fileList_box.value.length>0)
41537
41540
  ? (openBlock(), createBlock(_component_el_button, {
41538
41541
  key: 1,
41539
41542
  size: "small",
@@ -41583,9 +41586,9 @@ const props = __props;
41583
41586
  const emit = __emit;
41584
41587
 
41585
41588
  const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41586
- const fileList_box = reactive([]);
41589
+ const fileList_box = ref([]);
41587
41590
  props.modelValue.forEach((item, index) => {
41588
- fileList_box.push({
41591
+ fileList_box.value.push({
41589
41592
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41590
41593
  url: item,
41591
41594
  response: {
@@ -41616,9 +41619,9 @@ const hdl = {
41616
41619
  },
41617
41620
  remove (file, fileList) { // 文件列表移除文件时的钩子
41618
41621
  // 重置文件列表, 注意:通过使用splice保持响应性
41619
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41622
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41620
41623
  const arr = [];
41621
- fileList_box.forEach(i=>{
41624
+ fileList_box.value.forEach(i=>{
41622
41625
  arr.push(i.response.data.src);
41623
41626
  });
41624
41627
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41626,10 +41629,10 @@ const hdl = {
41626
41629
  },
41627
41630
  success (response, file, fileList) { // 上传
41628
41631
  // 重置文件列表, 注意:通过使用splice保持响应性
41629
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41632
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41630
41633
  if (response.code === 0) {
41631
41634
  const arr = [];
41632
- fileList_box.forEach(i=>{
41635
+ fileList_box.value.forEach(i=>{
41633
41636
  arr.push(i.response.data.src);
41634
41637
  });
41635
41638
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41642,7 +41645,7 @@ const hdl = {
41642
41645
  },
41643
41646
  deleteAll () { // 删除全部已上传图片
41644
41647
  // 重置文件列表, 注意:通过使用splice保持响应性
41645
- fileList_box.splice(0, fileList_box.length);
41648
+ fileList_box.value.splice(0, fileList_box.value.length);
41646
41649
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41647
41650
  emit("update:modelValue", []);
41648
41651
  }
@@ -41655,8 +41658,8 @@ return (_ctx, _cache) => {
41655
41658
  return (openBlock(), createElementBlock("div", null, [
41656
41659
  createVNode(_component_el_upload, {
41657
41660
  action: myProps_box.uploadUrl,
41658
- "file-list": fileList_box,
41659
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41661
+ "file-list": fileList_box.value,
41662
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41660
41663
  "list-type": "picture",
41661
41664
  "before-upload": hdl.beforeUpload,
41662
41665
  "on-preview": hdl.preview,
@@ -41680,10 +41683,10 @@ return (_ctx, _cache) => {
41680
41683
  ]),
41681
41684
  _: 1 /* STABLE */
41682
41685
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41683
- (fileList_box.length>0)
41684
- ? (openBlock(), createElementBlock("div", _hoisted_2$7, toDisplayString("已上传"+fileList_box.length+"个图片"), 1 /* TEXT */))
41686
+ (fileList_box.value.length>0)
41687
+ ? (openBlock(), createElementBlock("div", _hoisted_2$7, toDisplayString("已上传"+fileList_box.value.length+"个图片"), 1 /* TEXT */))
41685
41688
  : createCommentVNode("v-if", true),
41686
- (fileList_box.length>0)
41689
+ (fileList_box.value.length>0)
41687
41690
  ? (openBlock(), createBlock(_component_el_button, {
41688
41691
  key: 1,
41689
41692
  size: "small",
@@ -41734,9 +41737,9 @@ const props = __props;
41734
41737
  const emit = __emit;
41735
41738
 
41736
41739
  const myProps_box = reactive(Object.assign({}, ly0default, props.myProps));
41737
- const fileList_box = reactive([]);
41740
+ const fileList_box = ref([]);
41738
41741
  props.modelValue.forEach((item, index) => {
41739
- fileList_box.push({
41742
+ fileList_box.value.push({
41740
41743
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41741
41744
  url: item,
41742
41745
  response: {
@@ -41772,9 +41775,9 @@ const hdl = {
41772
41775
  },
41773
41776
  remove (file, fileList) { // 文件列表移除文件时的钩子
41774
41777
  // 重置文件列表, 注意:通过使用splice保持响应性
41775
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41778
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41776
41779
  const arr = [];
41777
- fileList_box.forEach(i=>{
41780
+ fileList_box.value.forEach(i=>{
41778
41781
  arr.push(i.response.data.src);
41779
41782
  });
41780
41783
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41791,8 +41794,8 @@ return (_ctx, _cache) => {
41791
41794
  return (openBlock(), createElementBlock("div", null, [
41792
41795
  createVNode(_component_el_upload, {
41793
41796
  action: myProps_box.uploadUrl,
41794
- "file-list": fileList_box,
41795
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41797
+ "file-list": fileList_box.value,
41798
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41796
41799
  "list-type": "picture-card",
41797
41800
  "before-upload": hdl.beforeUpload,
41798
41801
  "on-preview": hdl.preview,
@@ -41826,10 +41829,10 @@ return (_ctx, _cache) => {
41826
41829
  ]),
41827
41830
  _: 1 /* STABLE */
41828
41831
  }, 8 /* PROPS */, ["modelValue"]),
41829
- (fileList_box.length>0)
41830
- ? (openBlock(), createElementBlock("div", _hoisted_3$3, toDisplayString("已上传"+fileList_box.length+"个图片"), 1 /* TEXT */))
41832
+ (fileList_box.value.length>0)
41833
+ ? (openBlock(), createElementBlock("div", _hoisted_3$3, toDisplayString("已上传"+fileList_box.value.length+"个图片"), 1 /* TEXT */))
41831
41834
  : createCommentVNode("v-if", true),
41832
- (fileList_box.length>0)
41835
+ (fileList_box.value.length>0)
41833
41836
  ? (openBlock(), createBlock(_component_el_button, {
41834
41837
  key: 1,
41835
41838
  size: "small",