规范:统一自有源码中文注释和中文提交约定

This commit is contained in:
cieanyau committed 2026-11-07 04:49:51 +08:00
1 parent bdb9b00b6e
commit 83b7484558
17 files changed
+39 -36

No files matched your search

+3 -3
View File
@@ -117,7 +117,7 @@ async function loadSearchResults() {
searchLoading.value = true;
listError.value = "";
try {
// Search owns the complete result set; only visibleRows applies local pagination.
// 搜索负责收集完整结果,仅由 visibleRows 执行本地分页。
const completeRows = await loadCompleteList(
(page, limit) => api.get("/ssh_key", { page, limit }),
isCurrent,
@@ -244,7 +244,7 @@ async function copyPublicKey(key) {
copiedKeyId.value = key.id;
copyResetTimer = setTimeout(() => (copiedKeyId.value = null), 2000);
} catch {
// Clipboard access can be unavailable; the public key remains selectable.
// 剪贴板权限或接口可能不可用,用户仍可手工选择并复制公钥。
}
}
@@ -257,7 +257,7 @@ onBeforeUnmount(() => {
</script>
<template>
<!-- Keep the imported page styles scoped, including the teleported editor. -->
<!-- 保留导入样式的页面作用域,包括渲染到页面外部的编辑弹窗。 -->
<div class="list-page" data-v-31489433>
<div class="list-head" data-v-31489433>
<h2 data-v-31489433>SSH 密钥</h2>