gds-plus-design-vue 1.2.41 → 1.2.42

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.
@@ -23984,7 +23984,7 @@ const GDpackage$f = __component__$4g.exports;
23984
23984
  GDpackage$f.install = function(i) {
23985
23985
  i.component(GDpackage$f.name, GDpackage$f);
23986
23986
  };
23987
- const main_vue_vue_type_style_index_0_scoped_a10263b1_lang = "", _sfc_main$4f = {
23987
+ const main_vue_vue_type_style_index_0_scoped_47466ffb_lang = "", _sfc_main$4f = {
23988
23988
  name: "GdUploadFile",
23989
23989
  props: {
23990
23990
  record: {
@@ -24054,7 +24054,7 @@ const main_vue_vue_type_style_index_0_scoped_a10263b1_lang = "", _sfc_main$4f =
24054
24054
  },
24055
24055
  methods: {
24056
24056
  clearFiles() {
24057
- this.$refs.uploadFile && this.$refs.uploadFile.clearFiles();
24057
+ this.fileListFile = [], this.uidUploading = [], this.record.uidUploading = [], this.leg = 0, this.record.sourceData = JSON.stringify([]), this.model[this.prop] = "", this.$refs.uploadFile && this.$refs.uploadFile.clearFiles(), this.handleChange();
24058
24058
  },
24059
24059
  onExceed() {
24060
24060
  this.$message.error(this.$i18nt("gd.view.fileLimitTip", "\u5DF2\u8D85\u8FC7\u6700\u5927\u4E0A\u4F20\u6570\u91CF"));
@@ -24075,7 +24075,7 @@ const main_vue_vue_type_style_index_0_scoped_a10263b1_lang = "", _sfc_main$4f =
24075
24075
  },
24076
24076
  setData(i) {
24077
24077
  if (i === "" || i === null) {
24078
- this.fileListFile = [], this.clearFiles();
24078
+ this.clearFiles();
24079
24079
  return;
24080
24080
  }
24081
24081
  const t = this.isJSON(i) ? JSON.parse(i) : [];
@@ -24198,7 +24198,7 @@ var _sfc_render$4f = function() {
24198
24198
  _sfc_staticRenderFns$4f,
24199
24199
  !1,
24200
24200
  null,
24201
- "a10263b1",
24201
+ "47466ffb",
24202
24202
  null,
24203
24203
  null
24204
24204
  );
@@ -24206,7 +24206,7 @@ const uploadFile = __component__$4f.exports;
24206
24206
  uploadFile.install = function(i) {
24207
24207
  i.component(uploadFile.name, uploadFile);
24208
24208
  };
24209
- const main_vue_vue_type_style_index_0_scoped_574c38e7_lang = "", _sfc_main$4e = {
24209
+ const main_vue_vue_type_style_index_0_scoped_e6b57c8a_lang = "", _sfc_main$4e = {
24210
24210
  name: "GdUploadImg",
24211
24211
  props: {
24212
24212
  record: {
@@ -24251,9 +24251,6 @@ const main_vue_vue_type_style_index_0_scoped_574c38e7_lang = "", _sfc_main$4e =
24251
24251
  };
24252
24252
  },
24253
24253
  computed: {
24254
- clearFiles() {
24255
- this.$refs.uploadFile && this.$refs.uploadFile.clearFiles();
24256
- },
24257
24254
  fileAccept() {
24258
24255
  return this.accept ? this.accept : getFileAccept("image");
24259
24256
  },
@@ -24262,6 +24259,9 @@ const main_vue_vue_type_style_index_0_scoped_574c38e7_lang = "", _sfc_main$4e =
24262
24259
  }
24263
24260
  },
24264
24261
  methods: {
24262
+ clearFiles() {
24263
+ this.fileListFile = [], this.uidUploading = [], this.record.uidUploading = [], this.model[this.prop] = "", this.$refs.uploadFile && this.$refs.uploadFile.clearFiles(), this.handleChange();
24264
+ },
24265
24265
  setDataMore({ val: i, data: t, items: s, fkData: a }) {
24266
24266
  this.setData(i);
24267
24267
  },
@@ -24384,7 +24384,7 @@ var _sfc_render$4e = function() {
24384
24384
  _sfc_staticRenderFns$4e,
24385
24385
  !1,
24386
24386
  null,
24387
- "574c38e7",
24387
+ "e6b57c8a",
24388
24388
  null,
24389
24389
  null
24390
24390
  );