diff --git a/package.json b/package.json
index e9e2ac4..f75e9b2 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"@mdi/font": "7.4.47",
"axios": "^1.7.7",
"idb": "^8.0.2",
+ "pinyin-pro": "^3.26.0",
"roboto-fontface": "*",
"vue": "^3.4.31",
"vue-masonry-wall": "^0.3.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ed65936..7e73d4f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -17,6 +17,9 @@ importers:
idb:
specifier: ^8.0.2
version: 8.0.2
+ pinyin-pro:
+ specifier: ^3.26.0
+ version: 3.26.0
roboto-fontface:
specifier: '*'
version: 0.10.0
@@ -1279,6 +1282,9 @@ packages:
typescript:
optional: true
+ pinyin-pro@3.26.0:
+ resolution: {integrity: sha512-HcBZZb0pvm0/JkPhZHWA5Hqp2cWHXrrW/WrV+OtaYYM+kf35ffvZppIUuGmyuQ7gDr1JDJKMkbEE+GN0wfMoGg==}
+
pkg-types@1.2.1:
resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==}
@@ -3019,6 +3025,8 @@ snapshots:
vue: 3.5.13
vue-demi: 0.14.10(vue@3.5.13)
+ pinyin-pro@3.26.0: {}
+
pkg-types@1.2.1:
dependencies:
confbox: 0.1.8
diff --git a/src/components/settings/StudentListCard.vue b/src/components/settings/StudentListCard.vue
index 32be2f6..c34f202 100644
--- a/src/components/settings/StudentListCard.vue
+++ b/src/components/settings/StudentListCard.vue
@@ -10,17 +10,23 @@
学生列表
-
+
+
+ 按姓名首字母排序
+
- {{ modelValue.advanced ? '返回基础编辑' : '高级编辑' }}
+ {{ modelValue.advanced ? "返回基础编辑" : "高级编辑" }}
@@ -33,13 +39,7 @@
class="mb-4"
/>
-
+
{{ error }}
@@ -83,7 +83,7 @@
@@ -145,7 +145,10 @@
{{ student }}
-