chore: 修复vip过期时间显示错误的问题

This commit is contained in:
xiaojunnuo
2025-08-11 01:47:39 +08:00
parent fdbb8300d3
commit 31923d511e

View File

@@ -143,7 +143,7 @@ export const useSettingStore = defineStore({
if (this.plusInfo?.expireTime === -1) {
return "永久";
}
return dayjs(this.plusInfo?.expireTime, "yyyy-MM-dd");
return dayjs(this.plusInfo?.expireTime).format("YYYY-MM-DD");
},
isForever() {
return this.isPlus && this.plusInfo?.expireTime === -1;