@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.cjs.js CHANGED
@@ -23306,6 +23306,8 @@ const formData = vue.inject("formData");
23306
23306
  const formProps = vue.inject("formProps");
23307
23307
  const scopeThis = vue.inject("scopeThis");
23308
23308
 
23309
+ console.log('测试 000', formProps);
23310
+
23309
23311
  const style = vue.reactive({
23310
23312
  collapse: styleModule.collapse,
23311
23313
  field_box: styleModule.field_box,
@@ -40918,9 +40920,10 @@ const props = __props;
40918
40920
  const emit = __emit;
40919
40921
 
40920
40922
  const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
40921
- const fileList_box = vue.reactive([]);
40923
+ // 在这里,const ... reactive不能用于双向绑定:v-model:file-list="fileList_box"
40924
+ const fileList_box = vue.ref([]);
40922
40925
  props.modelValue.forEach((item, index) => {
40923
- fileList_box.push({
40926
+ fileList_box.value.push({
40924
40927
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
40925
40928
  url: item,
40926
40929
  response: {
@@ -40951,9 +40954,9 @@ const hdl = {
40951
40954
  },
40952
40955
  remove (file, fileList) { // 文件列表移除文件时的钩子
40953
40956
  // 重置文件列表, 注意:通过使用splice保持响应性
40954
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
40957
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
40955
40958
  const arr = [];
40956
- fileList_box.forEach(i=>{
40959
+ fileList_box.value.forEach(i=>{
40957
40960
  arr.push(i.response.data.src);
40958
40961
  });
40959
40962
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -40961,10 +40964,10 @@ const hdl = {
40961
40964
  },
40962
40965
  success (response, file, fileList) { // 上传成功
40963
40966
  // 重置文件列表, 注意:通过使用splice保持响应性
40964
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
40967
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
40965
40968
  if (response.code === 0) {
40966
40969
  const arr = [];
40967
- fileList_box.forEach(i=>{
40970
+ fileList_box.value.forEach(i=>{
40968
40971
  arr.push(i.response.data.src);
40969
40972
  });
40970
40973
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -40977,7 +40980,7 @@ const hdl = {
40977
40980
  },
40978
40981
  deleteAll () { // 删除全部已上传文件
40979
40982
  // 重置文件列表, 注意:通过使用splice保持响应性
40980
- fileList_box.splice(0, fileList_box.length);
40983
+ fileList_box.value.splice(0, fileList_box.value.length);
40981
40984
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
40982
40985
  emit("update:modelValue", []);
40983
40986
  }
@@ -40990,8 +40993,8 @@ return (_ctx, _cache) => {
40990
40993
  return (vue.openBlock(), vue.createElementBlock("div", null, [
40991
40994
  vue.createVNode(_component_el_upload, {
40992
40995
  action: myProps_box.uploadUrl,
40993
- "file-list": fileList_box,
40994
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
40996
+ "file-list": fileList_box.value,
40997
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
40995
40998
  "list-type": "text",
40996
40999
  "before-upload": hdl.beforeUpload,
40997
41000
  "on-preview": hdl.preview,
@@ -41015,10 +41018,10 @@ return (_ctx, _cache) => {
41015
41018
  ]),
41016
41019
  _: 1 /* STABLE */
41017
41020
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41018
- (fileList_box.length>0)
41019
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, vue.toDisplayString("已上传"+fileList_box.length+"个文件"), 1 /* TEXT */))
41021
+ (fileList_box.value.length>0)
41022
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$b, vue.toDisplayString("已上传"+fileList_box.value.length+"个文件"), 1 /* TEXT */))
41020
41023
  : vue.createCommentVNode("v-if", true),
41021
- (fileList_box.length>0)
41024
+ (fileList_box.value.length>0)
41022
41025
  ? (vue.openBlock(), vue.createBlock(_component_el_button, {
41023
41026
  key: 1,
41024
41027
  size: "small",
@@ -41065,9 +41068,9 @@ const props = __props;
41065
41068
  const emit = __emit;
41066
41069
 
41067
41070
  const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41068
- const fileList_box = vue.reactive([]);
41071
+ const fileList_box = vue.ref([]);
41069
41072
  props.modelValue.forEach((item, index) => {
41070
- fileList_box.push({
41073
+ fileList_box.value.push({
41071
41074
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41072
41075
  url: item,
41073
41076
  response: {
@@ -41123,17 +41126,17 @@ const hdl = {
41123
41126
  remove (file, fileList) { // 文件列表移除文件时的钩子
41124
41127
  // 重置文件列表, 注意:通过使用splice保持响应性
41125
41128
  // 因为只能上传一个图片,移除即清空
41126
- fileList_box.splice(0, fileList_box.length);
41129
+ fileList_box.value.splice(0, fileList_box.value.length);
41127
41130
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41128
41131
  emit("update:modelValue", []);
41129
41132
  },
41130
41133
  success (response, file, fileList) { // 上传
41131
41134
  // 重置文件列表, 注意:通过使用splice保持响应性
41132
41135
  // 只能上传一个图片
41133
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41136
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41134
41137
  if (response.code === 0) {
41135
41138
  const arr = [];
41136
- fileList_box.forEach(i=>{
41139
+ fileList_box.value.forEach(i=>{
41137
41140
  arr.push(i.response.data.src);
41138
41141
  });
41139
41142
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41146,7 +41149,7 @@ const hdl = {
41146
41149
  },
41147
41150
  deleteAll () { // 删除全部已上传文件
41148
41151
  // 重置文件列表, 注意:通过使用splice保持响应性
41149
- fileList_box.splice(0, fileList_box.length);
41152
+ fileList_box.value.splice(0, fileList_box.value.length);
41150
41153
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41151
41154
  emit("update:modelValue", []);
41152
41155
  }
@@ -41163,8 +41166,8 @@ return (_ctx, _cache) => {
41163
41166
  class: "avatar",
41164
41167
  style: vue.normalizeStyle(style.avatarBox),
41165
41168
  action: myProps_box.uploadUrl,
41166
- "file-list": fileList_box,
41167
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41169
+ "file-list": fileList_box.value,
41170
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41168
41171
  "show-file-list": false,
41169
41172
  "before-upload": hdl.beforeUpload,
41170
41173
  "on-preview": hdl.preview,
@@ -41173,10 +41176,10 @@ return (_ctx, _cache) => {
41173
41176
  limit: 1
41174
41177
  }, {
41175
41178
  default: vue.withCtx(() => [
41176
- (fileList_box.length>0 && fileList_box[0].response && fileList_box[0].response.data && fileList_box[0].response.data.src)
41179
+ (fileList_box.value.length>0 && fileList_box.value[0].response && fileList_box.value[0].response.data && fileList_box.value[0].response.data.src)
41177
41180
  ? (vue.openBlock(), vue.createElementBlock("img", {
41178
41181
  key: 0,
41179
- src: fileList_box[0].response.data.src,
41182
+ src: fileList_box.value[0].response.data.src,
41180
41183
  class: "avatar",
41181
41184
  style: vue.normalizeStyle(style.avatarImage)
41182
41185
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$a))
@@ -41193,7 +41196,7 @@ return (_ctx, _cache) => {
41193
41196
  ]),
41194
41197
  _: 1 /* STABLE */
41195
41198
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
41196
- (fileList_box.length>0 && fileList_box[0].response && fileList_box[0].response.data && fileList_box[0].response.data.src)
41199
+ (fileList_box.value.length>0 && fileList_box.value[0].response && fileList_box.value[0].response.data && fileList_box.value[0].response.data.src)
41197
41200
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
41198
41201
  vue.createVNode(_component_el_button, {
41199
41202
  size: "small",
@@ -41252,9 +41255,9 @@ const myProps_box = vue.reactive(Object.assign({}, ly0default, {
41252
41255
  }
41253
41256
  }, props.myProps));
41254
41257
 
41255
- const fileList_box = vue.reactive([]);
41258
+ const fileList_box = vue.ref([]);
41256
41259
  props.modelValue.forEach((item, index) => {
41257
- fileList_box.push({
41260
+ fileList_box.value.push({
41258
41261
  name: item.src.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41259
41262
  url: item.src,
41260
41263
  response: {
@@ -41313,7 +41316,7 @@ const hdl = {
41313
41316
  remove (file, fileList) { // 文件列表移除文件时的钩子
41314
41317
  // 重置文件列表, 注意:通过使用splice保持响应性
41315
41318
  // 因为只能上传一个图片,移除即清空
41316
- fileList_box.splice(0, fileList_box.length);
41319
+ fileList_box.value.splice(0, fileList_box.value.length);
41317
41320
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41318
41321
  emit("update:modelValue", []);
41319
41322
  }};
@@ -41329,8 +41332,8 @@ return (_ctx, _cache) => {
41329
41332
  class: "avatar",
41330
41333
  style: vue.normalizeStyle(style.avatarBox),
41331
41334
  action: myProps_box.uploadUrl,
41332
- "file-list": fileList_box,
41333
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41335
+ "file-list": fileList_box.value,
41336
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41334
41337
  "show-file-list": false,
41335
41338
  "before-upload": hdl.beforeUpload,
41336
41339
  "on-preview": hdl.preview,
@@ -41339,15 +41342,15 @@ return (_ctx, _cache) => {
41339
41342
  }, {
41340
41343
  default: vue.withCtx(() => [
41341
41344
  (
41342
- fileList_box.length>0 &&
41343
- fileList_box[0].response &&
41344
- fileList_box[0].response.data &&
41345
- fileList_box[0].response.data.src
41345
+ fileList_box.value.length>0 &&
41346
+ fileList_box.value[0].response &&
41347
+ fileList_box.value[0].response.data &&
41348
+ fileList_box.value[0].response.data.src
41346
41349
  )
41347
41350
  ? (vue.openBlock(), vue.createElementBlock("img", {
41348
41351
  key: 0,
41349
41352
  class: "avatar",
41350
- src: _ctx.fileList[0].response.data.src,
41353
+ src: fileList_box.value[0].response.data.src,
41351
41354
  style: vue.normalizeStyle(style.avatarImage())
41352
41355
  }, null, 12 /* STYLE, PROPS */, _hoisted_1$9))
41353
41356
  : (vue.openBlock(), vue.createBlock(_component_el_icon, {
@@ -41364,22 +41367,22 @@ return (_ctx, _cache) => {
41364
41367
  _: 1 /* STABLE */
41365
41368
  }, 8 /* PROPS */, ["style", "action", "file-list", "before-upload", "on-preview", "on-remove", "on-success"]),
41366
41369
  (
41367
- fileList_box.length>0 &&
41368
- fileList_box[0].response &&
41369
- fileList_box[0].response.data &&
41370
- fileList_box[0].response.data.result &&
41371
- fileList_box[0].response.data.result.txt
41370
+ fileList_box.value.length>0 &&
41371
+ fileList_box.value[0].response &&
41372
+ fileList_box.value[0].response.data &&
41373
+ fileList_box.value[0].response.data.result &&
41374
+ fileList_box.value[0].response.data.result.txt
41372
41375
  )
41373
41376
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
41374
41377
  _cache[1] || (_cache[1] = vue.createElementVNode("span", null, "车牌识别结果:", -1 /* CACHED */)),
41375
- vue.createElementVNode("span", _hoisted_3$4, vue.toDisplayString(fileList_box[0].response.data.result.txt), 1 /* TEXT */)
41378
+ vue.createElementVNode("span", _hoisted_3$4, vue.toDisplayString(fileList_box.value[0].response.data.result.txt), 1 /* TEXT */)
41376
41379
  ]))
41377
41380
  : vue.createCommentVNode("v-if", true),
41378
41381
  (
41379
- fileList_box.length>0 &&
41380
- fileList_box[0].response &&
41381
- fileList_box[0].response.data &&
41382
- fileList_box[0].response.data.src
41382
+ fileList_box.value.length>0 &&
41383
+ fileList_box.value[0].response &&
41384
+ fileList_box.value[0].response.data &&
41385
+ fileList_box.value[0].response.data.src
41383
41386
  )
41384
41387
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [
41385
41388
  vue.createVNode(_component_el_button, {
@@ -41433,9 +41436,9 @@ const props = __props;
41433
41436
  const emit = __emit;
41434
41437
 
41435
41438
  const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41436
- const fileList_box = vue.reactive([]);
41439
+ const fileList_box = vue.ref([]);
41437
41440
  props.modelValue.forEach((item, index) => {
41438
- fileList_box.push({
41441
+ fileList_box.value.push({
41439
41442
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41440
41443
  url: item,
41441
41444
  response: {
@@ -41466,9 +41469,9 @@ const hdl = {
41466
41469
  },
41467
41470
  remove (file, fileList) { // 文件列表移除文件时的钩子
41468
41471
  // 重置文件列表, 注意:通过使用splice保持响应性
41469
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41472
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41470
41473
  const arr = [];
41471
- fileList_box.forEach(i=>{
41474
+ fileList_box.value.forEach(i=>{
41472
41475
  arr.push(i.response.data.src);
41473
41476
  });
41474
41477
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41476,10 +41479,10 @@ const hdl = {
41476
41479
  },
41477
41480
  success (response, file, fileList) { // 上传
41478
41481
  // 重置文件列表, 注意:通过使用splice保持响应性
41479
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41482
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41480
41483
  if (response.code === 0) {
41481
41484
  const arr = [];
41482
- fileList_box.forEach(i=>{
41485
+ fileList_box.value.forEach(i=>{
41483
41486
  arr.push(i.response.data.src);
41484
41487
  });
41485
41488
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41492,7 +41495,7 @@ const hdl = {
41492
41495
  },
41493
41496
  deleteAll () { // 删除全部已上传文件
41494
41497
  // 重置文件列表, 注意:通过使用splice保持响应性
41495
- fileList_box.splice(0, fileList_box.length);
41498
+ fileList_box.value.splice(0, fileList_box.value.length);
41496
41499
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41497
41500
  emit("update:modelValue", []);
41498
41501
  }
@@ -41507,8 +41510,8 @@ return (_ctx, _cache) => {
41507
41510
  return (vue.openBlock(), vue.createElementBlock("div", null, [
41508
41511
  vue.createVNode(_component_el_upload, {
41509
41512
  action: myProps_box.uploadUrl,
41510
- "file-list": fileList_box,
41511
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41513
+ "file-list": fileList_box.value,
41514
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41512
41515
  "list-type": "text",
41513
41516
  "before-upload": hdl.beforeUpload,
41514
41517
  "on-preview": hdl.preview,
@@ -41534,10 +41537,10 @@ return (_ctx, _cache) => {
41534
41537
  ]),
41535
41538
  _: 1 /* STABLE */
41536
41539
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41537
- (fileList_box.length>0)
41538
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, vue.toDisplayString("已上传"+fileList_box.length+"个文件"), 1 /* TEXT */))
41540
+ (fileList_box.value.length>0)
41541
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, vue.toDisplayString("已上传"+fileList_box.value.length+"个文件"), 1 /* TEXT */))
41539
41542
  : vue.createCommentVNode("v-if", true),
41540
- (fileList_box.length>0)
41543
+ (fileList_box.value.length>0)
41541
41544
  ? (vue.openBlock(), vue.createBlock(_component_el_button, {
41542
41545
  key: 1,
41543
41546
  size: "small",
@@ -41587,9 +41590,9 @@ const props = __props;
41587
41590
  const emit = __emit;
41588
41591
 
41589
41592
  const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41590
- const fileList_box = vue.reactive([]);
41593
+ const fileList_box = vue.ref([]);
41591
41594
  props.modelValue.forEach((item, index) => {
41592
- fileList_box.push({
41595
+ fileList_box.value.push({
41593
41596
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41594
41597
  url: item,
41595
41598
  response: {
@@ -41620,9 +41623,9 @@ const hdl = {
41620
41623
  },
41621
41624
  remove (file, fileList) { // 文件列表移除文件时的钩子
41622
41625
  // 重置文件列表, 注意:通过使用splice保持响应性
41623
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41626
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41624
41627
  const arr = [];
41625
- fileList_box.forEach(i=>{
41628
+ fileList_box.value.forEach(i=>{
41626
41629
  arr.push(i.response.data.src);
41627
41630
  });
41628
41631
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41630,10 +41633,10 @@ const hdl = {
41630
41633
  },
41631
41634
  success (response, file, fileList) { // 上传
41632
41635
  // 重置文件列表, 注意:通过使用splice保持响应性
41633
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41636
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41634
41637
  if (response.code === 0) {
41635
41638
  const arr = [];
41636
- fileList_box.forEach(i=>{
41639
+ fileList_box.value.forEach(i=>{
41637
41640
  arr.push(i.response.data.src);
41638
41641
  });
41639
41642
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41646,7 +41649,7 @@ const hdl = {
41646
41649
  },
41647
41650
  deleteAll () { // 删除全部已上传图片
41648
41651
  // 重置文件列表, 注意:通过使用splice保持响应性
41649
- fileList_box.splice(0, fileList_box.length);
41652
+ fileList_box.value.splice(0, fileList_box.value.length);
41650
41653
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
41651
41654
  emit("update:modelValue", []);
41652
41655
  }
@@ -41659,8 +41662,8 @@ return (_ctx, _cache) => {
41659
41662
  return (vue.openBlock(), vue.createElementBlock("div", null, [
41660
41663
  vue.createVNode(_component_el_upload, {
41661
41664
  action: myProps_box.uploadUrl,
41662
- "file-list": fileList_box,
41663
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41665
+ "file-list": fileList_box.value,
41666
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41664
41667
  "list-type": "picture",
41665
41668
  "before-upload": hdl.beforeUpload,
41666
41669
  "on-preview": hdl.preview,
@@ -41684,10 +41687,10 @@ return (_ctx, _cache) => {
41684
41687
  ]),
41685
41688
  _: 1 /* STABLE */
41686
41689
  }, 8 /* PROPS */, ["action", "file-list", "before-upload", "on-preview", "on-remove", "on-success", "limit"]),
41687
- (fileList_box.length>0)
41688
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$7, vue.toDisplayString("已上传"+fileList_box.length+"个图片"), 1 /* TEXT */))
41690
+ (fileList_box.value.length>0)
41691
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$7, vue.toDisplayString("已上传"+fileList_box.value.length+"个图片"), 1 /* TEXT */))
41689
41692
  : vue.createCommentVNode("v-if", true),
41690
- (fileList_box.length>0)
41693
+ (fileList_box.value.length>0)
41691
41694
  ? (vue.openBlock(), vue.createBlock(_component_el_button, {
41692
41695
  key: 1,
41693
41696
  size: "small",
@@ -41738,9 +41741,9 @@ const props = __props;
41738
41741
  const emit = __emit;
41739
41742
 
41740
41743
  const myProps_box = vue.reactive(Object.assign({}, ly0default, props.myProps));
41741
- const fileList_box = vue.reactive([]);
41744
+ const fileList_box = vue.ref([]);
41742
41745
  props.modelValue.forEach((item, index) => {
41743
- fileList_box.push({
41746
+ fileList_box.value.push({
41744
41747
  name: item.substring(item.lastIndexOf('/') + 1) ?? 'Old_' + index,
41745
41748
  url: item,
41746
41749
  response: {
@@ -41776,9 +41779,9 @@ const hdl = {
41776
41779
  },
41777
41780
  remove (file, fileList) { // 文件列表移除文件时的钩子
41778
41781
  // 重置文件列表, 注意:通过使用splice保持响应性
41779
- fileList_box.splice(0, fileList_box.length, ...JSON.parse(JSON.stringify(fileList)));
41782
+ fileList_box.value.splice(0, fileList_box.value.length, ...JSON.parse(JSON.stringify(fileList)));
41780
41783
  const arr = [];
41781
- fileList_box.forEach(i=>{
41784
+ fileList_box.value.forEach(i=>{
41782
41785
  arr.push(i.response.data.src);
41783
41786
  });
41784
41787
  // 触发 update:modelValue 事件更新父组件的 v-model 绑定的值
@@ -41795,8 +41798,8 @@ return (_ctx, _cache) => {
41795
41798
  return (vue.openBlock(), vue.createElementBlock("div", null, [
41796
41799
  vue.createVNode(_component_el_upload, {
41797
41800
  action: myProps_box.uploadUrl,
41798
- "file-list": fileList_box,
41799
- "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box) = $event)),
41801
+ "file-list": fileList_box.value,
41802
+ "onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((fileList_box).value = $event)),
41800
41803
  "list-type": "picture-card",
41801
41804
  "before-upload": hdl.beforeUpload,
41802
41805
  "on-preview": hdl.preview,
@@ -41830,10 +41833,10 @@ return (_ctx, _cache) => {
41830
41833
  ]),
41831
41834
  _: 1 /* STABLE */
41832
41835
  }, 8 /* PROPS */, ["modelValue"]),
41833
- (fileList_box.length>0)
41834
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3, vue.toDisplayString("已上传"+fileList_box.length+"个图片"), 1 /* TEXT */))
41836
+ (fileList_box.value.length>0)
41837
+ ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3, vue.toDisplayString("已上传"+fileList_box.value.length+"个图片"), 1 /* TEXT */))
41835
41838
  : vue.createCommentVNode("v-if", true),
41836
- (fileList_box.length>0)
41839
+ (fileList_box.value.length>0)
41837
41840
  ? (vue.openBlock(), vue.createBlock(_component_el_button, {
41838
41841
  key: 1,
41839
41842
  size: "small",