()
| 1733 | }; |
| 1734 | |
| 1735 | const hasStudyTimeWarnDialog = () => { |
| 1736 | return !!Array.from(document.querySelectorAll('.el-overlay .content')).find((el) => |
| 1737 | el.textContent?.includes('保持良好的学习习惯') |
| 1738 | ); |
| 1739 | }; |
| 1740 | |
| 1741 | const closeStudyTimeWarnDialog = () => { |
| 1742 | return new Promise<void>((resolve, reject) => { |