Explorar o código

解析等在中用户关闭弹窗

lifanagju_citu hai 4 días
pai
achega
b0026c831b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/views/menduner/system/talentMap/components/card.vue

+ 1 - 0
src/views/menduner/system/talentMap/components/card.vue

@@ -414,6 +414,7 @@ const handleAnalysis = async () => {
     query.append('image', file.value)
     message.warning('正在解析...')
     const res = await talentLabelingApi.businessCardParse(query)
+    if (!openUploadImg.value) return // 用户已取消解析
     dealData(res?.data || res)
     openUploadImg.value = false
     showAnalysisTable.value = true