mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-28 05:30:29 +08:00
1.0.6
This commit is contained in:
parent
e3acf47c6d
commit
a2d8d962fb
@ -1,9 +1,8 @@
|
|||||||
### New Features
|
### New Features
|
||||||
|
|
||||||
- Linux支持手动授权内核
|
- MacOS托盘图标网速多行显示
|
||||||
- 代理节点支持多列展示
|
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- 修改混合端口后系统代理没有更新
|
- 修复永久订阅过期时间显示问题
|
||||||
- 缩短MacOS网速显示长度
|
- 修复指定3列显示无效的问题
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mihomo-party",
|
"name": "mihomo-party",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"description": "Mihomo Party",
|
"description": "Mihomo Party",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"author": "mihomo-party",
|
"author": "mihomo-party",
|
||||||
|
|||||||
@ -223,13 +223,13 @@ const ProfileItem: React.FC<Props> = (props) => {
|
|||||||
</Dropdown>
|
</Dropdown>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{info.type === 'remote' && (
|
{info.type === 'remote' && extra && (
|
||||||
<div
|
<div
|
||||||
className={`mt-2 flex justify-between ${isCurrent ? 'text-white' : 'text-foreground'}`}
|
className={`mt-2 flex justify-between ${isCurrent ? 'text-white' : 'text-foreground'}`}
|
||||||
>
|
>
|
||||||
<small>{extra ? `${calcTraffic(usage)}/${calcTraffic(total)}` : undefined}</small>
|
<small>{`${calcTraffic(usage)}/${calcTraffic(total)}`}</small>
|
||||||
<small>
|
<small>
|
||||||
{extra && extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : ''}
|
{extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : '长期有效'}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -109,13 +109,13 @@ const ProfileCard: React.FC = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{info.type === 'remote' && (
|
{info.type === 'remote' && extra && (
|
||||||
<div
|
<div
|
||||||
className={`mt-2 flex justify-between ${match ? 'text-white' : 'text-foreground'} `}
|
className={`mt-2 flex justify-between ${match ? 'text-white' : 'text-foreground'} `}
|
||||||
>
|
>
|
||||||
<small>{extra ? `${calcTraffic(usage)}/${calcTraffic(total)}` : undefined}</small>
|
<small>{`${calcTraffic(usage)}/${calcTraffic(total)}`}</small>
|
||||||
<small>
|
<small>
|
||||||
{extra && extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : ''}
|
{extra.expire ? dayjs.unix(extra.expire).format('YYYY-MM-DD') : '长期有效'}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user