lex hace 1 año
padre
commit
116160dd2f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/studentList/modals/comment-work/index.tsx

+ 2 - 1
src/views/studentList/modals/comment-work/index.tsx

@@ -42,7 +42,7 @@ export default defineComponent({
     });
     const onSubmit = async () => {
       const isCommentRemind = storage.get('isCommentRemind');
-      if (isCommentRemind != 1) {
+      if (isCommentRemind != 1 && state.commentRemind) {
         state.removeVisiable1 = true;
         return;
       }
@@ -64,6 +64,7 @@ export default defineComponent({
         //
       }
       state.btnLoading = false;
+      state.commentRemind = true;
     };
 
     const onSure = () => {