()
| 1048 | |
| 1049 | // 创建状态提示文本 |
| 1050 | const updateLabelText = () => { |
| 1051 | const isChecked = autoSubmitCheckbox.checked; |
| 1052 | autoSubmitLabel.innerHTML = ` |
| 1053 | 选择回复后自动点击发布评论按钮 |
| 1054 | <span style="color: ${isChecked ? '#28a745' : '#6c757d'}; font-weight: 500;"> |
| 1055 | ${isChecked ? '(已开启)' : '(已关闭)'} |
| 1056 | </span> |
| 1057 | `; |
| 1058 | }; |
| 1059 | |
| 1060 | // 初始化文本 |
| 1061 | updateLabelText(); |
no outgoing calls
no test coverage detected