소스 검색

bug 修复

dengrui 9 달 전
부모
커밋
7f7a149ec0
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/pro-operation/inspect/index.vue

+ 3 - 3
src/views/pro-operation/inspect/index.vue

@@ -250,12 +250,12 @@ const editCheckAsync = async () => {
 const fileName = ref("");
 provide("fileName", fileName);
 const submit = async () => {
-  check().then(() => {
+  check().then(async () => {
     if (editType.value == "add") {
-      addCheckAsync();
+      await addCheckAsync();
       reset();
     } else {
-      editCheckAsync();
+      await editCheckAsync();
       reset();
     }
   });