duy 2 月之前
父节点
当前提交
a78f36e5db
共有 1 个文件被更改,包括 0 次插入6 次删除
  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)