sctj-components 1.0.85 → 1.0.86

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.
@@ -130,7 +130,7 @@ const _sfc_main$v = {
130
130
  };
131
131
  const index$2 = "";
132
132
  const index$1 = "";
133
- const index_vue_vue_type_style_index_0_scoped_8537f180_lang = "";
133
+ const index_vue_vue_type_style_index_0_scoped_9fdf9efd_lang = "";
134
134
  const index_vue_vue_type_style_index_1_lang = "";
135
135
  const _hoisted_1$m = { class: "upload-file" };
136
136
  const _hoisted_2$f = { class: "el-upload__tip" };
@@ -159,7 +159,7 @@ const _sfc_main$u = {
159
159
  },
160
160
  fileType: {
161
161
  type: Array,
162
- default: () => ["docx", "xlsx", "doc", "xls", "ppt", "txt", "pdf", "png", "jpg", "jpeg", "pptx", "zip"]
162
+ default: () => ["docx", "xlsx", "doc", "xls", "ppt", "txt", "pdf", "png", "jpg", "jpeg", "pptx", "zip", "mp4"]
163
163
  },
164
164
  isShowTip: {
165
165
  type: Boolean,
@@ -331,7 +331,7 @@ const _sfc_main$u = {
331
331
  const fileExt = fileName.split(".").pop().toLowerCase();
332
332
  const link = document.createElement("a");
333
333
  link.style.display = "none";
334
- link.target = fileExt === "pdf" ? "_blank" : "_self";
334
+ link.target = fileExt === "pdf" || fileExt === "mp4" ? "_blank" : "_self";
335
335
  link.href = file.url;
336
336
  link.download = fileName;
337
337
  document.body.appendChild(link);
@@ -622,7 +622,7 @@ const _sfc_main$u = {
622
622
  };
623
623
  }
624
624
  };
625
- const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8537f180"]]);
625
+ const SCTJFileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-9fdf9efd"]]);
626
626
  const index_vue_vue_type_style_index_0_scoped_672e5149_lang = "";
627
627
  const _hoisted_1$l = { class: "component-upload-image" };
628
628
  const _hoisted_2$e = {