소스 검색

提示修改

duy 1 년 전
부모
커밋
3de932bf63
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/file/collection.vue

+ 2 - 2
src/views/file/collection.vue

@@ -1584,7 +1584,7 @@ const CertRowClick2 = ({ pdfFileUrl }) => {
 const CertLoading = ref(false)
 const CertClick = async () => {
     CertLoading.value = true
-    const { error, code } = await tasksFlowApi.batchCertification({
+    const { error, code, msg } = await tasksFlowApi.batchCertification({
         ids: CertIds.value,
     }, false)
     //判断状态
@@ -1594,7 +1594,7 @@ const CertClick = async () => {
         showCertificationModal.value = false
         searchClick()
     } else {
-        window.$message?.error('认证失败')
+        window.$message?.error(msg)
     }
 }