进行了一些小优化

This commit is contained in:
2026-08-24 18:08:06 +08:00
parent 10b3e6dd9f
commit f5c60cd425
5 changed files with 127 additions and 24 deletions
@@ -174,7 +174,7 @@ test('shared renderer contracts every configured authentication state', () => {
assert.match(client, /data-password-show/);
assert.match(client, /pollQr/);
assert.match(client, /window\.notyf\(escapeHtml\(text\), type \|\| 'info'\)/);
assert.match(client, /showToast\('请先完成人机验证', 'warning'\)/);
assert.match(client, /notify\('请先完成人机验证', 'warning'\)/);
assert.match(client, /form\.noValidate = true/);
assert.match(client, /form\.checkValidity\(\)[\s\S]*?field\.validationMessage/);
assert.match(client, /window\.location\.assign\(authPageUrl/);