接入 ESLint 与 Prettier 并加入 CI 静态门禁
前端验证 / verify (push) Failing after 15m2s

This commit is contained in:
cieanyau committed 2026-11-07 01:24:36 +08:00
1 parent 339df89fcf
commit 651c36367f
33 files changed
+1420 -40

No files matched your search

+1 -1
View File
@@ -329,7 +329,7 @@ var Ce = {
];
// 为账户设置标签提供左右方向键及 Home/End 导航,并同步实际焦点。
function Xt(e, t) {
let n = t;
let n;
if (e.key === `ArrowRight`) n = (t + 1) % E.length;
else if (e.key === `ArrowLeft`) n = (t + E.length - 1) % E.length;
else if (e.key === `Home`) n = 0;
+1
View File
@@ -387,6 +387,7 @@ var xe = {
Tt = computed(() => {
let e = R.value?.certification_auth_template_url || ``;
return /^(?:https?:\/\/|\/(?!\/))/i.test(e) &&
// eslint-disable-next-line no-control-regex -- 安全边界:拒绝认证模板 URL 内的控制字符。
!/[\\\u0000-\u0020]/.test(e)
? e
: ``;