lex пре 1 година
родитељ
комит
116160dd2f
1 измењених фајлова са 2 додато и 1 уклоњено
  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 = () => {