This commit is contained in:
pompurin404 2024-08-30 17:46:33 +08:00
parent 419fec23b7
commit a5b7ed2378
No known key found for this signature in database
3 changed files with 9 additions and 2 deletions

View File

@ -6,3 +6,8 @@
- YAML覆写功能支持对数组进行覆盖/前置/追加操作
- 缓存代理组图标
### Bug Fixes
- 修复provider过期时间解析错误
- 修复订阅名称解析错误

View File

@ -1,6 +1,6 @@
{
"name": "mihomo-party",
"version": "1.1.2",
"version": "1.2.0",
"description": "Mihomo Party",
"main": "./out/main/index.js",
"author": "mihomo-party",

View File

@ -98,7 +98,9 @@ const ProxyProvider: React.FC = () => {
>
{provider.subscriptionInfo && (
<div className="h-[32px] leading-[32px] text-default-500">
{dayjs.unix(provider.subscriptionInfo.Expire).format('YYYY-MM-DD')}
{provider.subscriptionInfo.Expire
? dayjs.unix(provider.subscriptionInfo.Expire).format('YYYY-MM-DD')
: '长期有效'}
</div>
)}
</SettingItem>