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

v2-dev-buy
xiaojunnuo 2025-08-11 01:47:39 +08:00
parent fdbb8300d3
commit 31923d511e
1 changed files with 1 additions and 1 deletions

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;