duy hace 2 años
padre
commit
5fadb9fbeb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 = ''