瀏覽代碼

fix(license): 移除重复的OCR识别失败提示

- 删除营业执照页面中的重复错误提示
- 删除娱乐许可证页面中的重复错误提示
- 删除食品经营许可证页面中的重复错误提示
congxuesong 2 周之前
父節點
當前提交
3ef1e3ca0e

+ 0 - 1
src/views/licenseManagement/businessLicense.vue

@@ -465,7 +465,6 @@ const uploadSingleFile = async (file: UploadFile) => {
         }
       } catch (error) {
         // 调用接口异常时:提示并删除当前图片
-        ElMessage.error("OCR 识别失败,请重试");
         const index = fileList.value.findIndex((f: any) => f.uid === file.uid);
         if (index > -1) {
           fileList.value.splice(index, 1);

+ 0 - 1
src/views/licenseManagement/entertainmentLicense.vue

@@ -464,7 +464,6 @@ const uploadSingleFile = async (file: UploadFile) => {
         }
       } catch (error) {
         // 调用接口异常时:提示并删除当前图片
-        ElMessage.error("OCR 识别失败,请重试");
         const index = fileList.value.findIndex((f: any) => f.uid === file.uid);
         if (index > -1) {
           fileList.value.splice(index, 1);

+ 0 - 1
src/views/licenseManagement/foodBusinessLicense.vue

@@ -468,7 +468,6 @@ const uploadSingleFile = async (file: UploadFile) => {
         }
       } catch (error) {
         // 调用接口异常时:提示并删除当前图片
-        ElMessage.error("OCR 识别失败,请重试");
         const index = fileList.value.findIndex((f: any) => f.uid === file.uid);
         if (index > -1) {
           fileList.value.splice(index, 1);