diff --git a/frontend/src/api/setting.ts b/frontend/src/api/setting.ts
index 6f43cc7..2fb308a 100644
--- a/frontend/src/api/setting.ts
+++ b/frontend/src/api/setting.ts
@@ -20,3 +20,13 @@ export function getExcludedDisplayStyle() {
export function updateExcludedDisplayStyle(style: string) {
return request.put('/setting/excluded-display-style', { style })
}
+
+/** 查询当前用户是否在收支记录列表与导出中显示已隐藏备注的记录 */
+export function getShowHiddenData() {
+ return request.get('/setting/show-hidden-data')
+}
+
+/** 更新当前用户是否在收支记录列表与导出中显示已隐藏备注的记录 */
+export function updateShowHiddenData(show: boolean) {
+ return request.put('/setting/show-hidden-data', { show })
+}
diff --git a/frontend/src/components/DisplayConfigPanel.vue b/frontend/src/components/DisplayConfigPanel.vue
index f970915..48d7f3f 100644
--- a/frontend/src/components/DisplayConfigPanel.vue
+++ b/frontend/src/components/DisplayConfigPanel.vue
@@ -1,12 +1,12 @@
@@ -61,16 +100,14 @@ onMounted(loadStyle)
-