diff --git a/src/components/uh-settings-popup/uh-settings-popup.vue b/src/components/uh-settings-popup/uh-settings-popup.vue index 9f7a119..40e9da8 100644 --- a/src/components/uh-settings-popup/uh-settings-popup.vue +++ b/src/components/uh-settings-popup/uh-settings-popup.vue @@ -36,10 +36,6 @@ }) /* ---------------- 交互 ---------------- */ - function handleSwitchChange(def : { path : string[] }, detail : { value ?: unknown }) { - handleBoolChange(def.path, detail.value === true) - } - function currentValueOf(path : string[]) : string | null { return isFollowing(path) ? null : String(prefValueOf(path) ?? '') } @@ -148,30 +144,39 @@ \ No newline at end of file