duy před 2 měsíci
rodič
revize
a78f36e5db
1 změnil soubory, kde provedl 0 přidání a 6 odebrání
  1. 0 6
      src/views/other-file/image-form.vue

+ 0 - 6
src/views/other-file/image-form.vue

@@ -408,12 +408,6 @@ const previewModalClose = () => {
 
 //删除上传的文件
 const uploadsDel = async (data) => {
-    
-    
-    // const arrUrl = link.split('.com//')
-    // if (arrUrl.length > 0) {
-    //     await ossApi.removeFile({ fileName: arrUrl[1] }, false)
-    // }
     const { link } = data
     await ossApi.removeFile({ fileName:link }, false)
      uploadFileList.value = uploadFileList.value.filter((item) => item.url !== data.link)