tianyunperfect hace 4 meses
padre
commit
53e6ad60cb
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      simple-demo/memoryDay.html

+ 3 - 0
simple-demo/memoryDay.html

@@ -106,6 +106,9 @@
             return;
         }
 
+        // 修改html页面标题
+        document.title = eventText;
+
         // 解析日期
         const startDate = new Date(dateStr);
         if (isNaN(startDate.getTime())) {