소스 검색

写日志

duy 2 년 전
부모
커밋
5fadb9fbeb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/task/logs/index.vue

+ 1 - 1
src/views/task/logs/index.vue

@@ -186,7 +186,7 @@ const getLogList = async () => {
         //判断今天是否填写日志
       let todayLog = getArrValue(res['今天'])
       if (todayLog.length > 0) {
-        if (todayLog[0]?.isRead === 0) {
+        if (todayLog[0]?.isEdit === 1) {
             todayId.value = todayLog[0].id
         } else {
             todayId.value = ''