Skip to content

Commit e3930b5

Browse files
committed
界面优化
1. 修复底部内容遮挡 2. 添加下载次数统计和最新版本号展示版本号
1 parent cd01f6e commit e3930b5

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# ZeroTier for KSU
22

3+
[![GitHub Release](https://img.shields.io/github/v/release/powerAn2020/ZeroTierForKSU)](https://github.com/powerAn2020/ZeroTierForKSU/releases)
4+
[![GitHub Download](https://img.shields.io/github/downloads/powerAn2020/ZeroTierForKSU/total)](https://github.com/powerAn2020/ZeroTierForKSU/releases)
5+
36
基于KSU WEBUI实现的Zertier客户端,同时支持部分zerotier服务端功能。
47
Magisk需要搭配[5ec1cff/KsuWebUIStandalone](https://github.com/5ec1cff/KsuWebUIStandalone)使用。
5-
~~自1.14.0之后KSU版本需要在`11928`以上才能正常使用UI~~
8+
9+
自1.14.0之后KSU版本需要在`11928`以上才能正常使用UI
610

711
## BUG
812

@@ -15,7 +19,7 @@ Magisk需要搭配[5ec1cff/KsuWebUIStandalone](https://github.com/5ec1cff/KsuWeb
1519
## TODO
1620

1721
1. [x] 流水线增加自定义zerotier版本编译。[~~据说1.8.9版本没有zt切换网络导致全局断网的问题~~](https://github.com/eventlOwOp/zerotier-magisk/issues/7#issuecomment-2069526989),经过测试,依然复现,而且还有漏洞,官方推荐1.12.x版本以上有安全补丁,别降级了。
18-
2. [X] 增加管理页面,需要自行准备[API Token](https://docs.zerotier.com/api/tokens/#zerotier-central-token)
22+
2. [x] 增加管理页面,需要自行准备[API Token](https://docs.zerotier.com/api/tokens/#zerotier-central-token)
1923
3. [x] 国际化
2024

2125
## 免责声明

ui-src/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<router-view v-slot="{ Component }">
2323
<component ref="routerViewRef" :is="Component" :theme="theme" />
2424
</router-view>
25-
<div style="height: 0.1rem;"></div>
25+
<div style="height: 0.1rem;padding-bottom:50px;"></div>
2626
<van-tabbar route safe-area-inset-bottom>
2727
<van-tabbar-item replace to="/" icon="home-o">{{ t('common.dash') }}</van-tabbar-item>
2828
<van-tabbar-item replace to="/peers" icon="friends-o">{{ t('common.peers') }}</van-tabbar-item>

ui-src/src/Home.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ const newAdd = (index) => {
157157
readonly.value = true;
158158
const editObj = JSON.parse(JSON.stringify(items[index]));
159159
info.allowDNS = editObj.allowDNS,
160-
info.allowDefault = editObj.allowDefault,
161-
info.allowManaged = editObj.allowManaged,
162-
info.allowGlobal = editObj.allowGlobal,
163-
info.name = editObj.name,
164-
info.id = editObj.id
160+
info.allowDefault = editObj.allowDefault,
161+
info.allowManaged = editObj.allowManaged,
162+
info.allowGlobal = editObj.allowGlobal,
163+
info.name = editObj.name,
164+
info.id = editObj.id
165165
} else {
166166
readonly.value = false;
167167
reset()

0 commit comments

Comments
 (0)