Skip to content

Commit

Permalink
(Enhance: Modules/ShellManager) ShellManager 状态栏显示全局代理开启情况
Browse files Browse the repository at this point in the history
  • Loading branch information
Medicean committed Jun 18, 2021
1 parent 1c6a77d commit 961b9e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ public byte[] base64Decode(String str) throws Exception {

> 别问, 要问就去问 Windows Defender
### 数据管理

* 开启代理情况下在数据管理状态栏会有提示

### 后端模块

* 修复 multipart 发包方式下, 编码器中 data 内容不为字符串时异常
Expand Down
6 changes: 5 additions & 1 deletion source/modules/shellmanager/list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ class List {
* @return {[type]} [description]
*/
updateHeader(num = 0) {
let proxyhint = "";
if(antSword.aproxymode === "manualproxy") {
proxyhint = ` <i class="fa fa-paper-plane"></i> <span style="color:green;">Proxy On</span>`;
}
this
.cell
.setText(`<i class="fa fa-list-ul"></i> ${LANG['title']} (${num})`);
.setText(`<i class="fa fa-list-ul"></i> ${LANG['title']} (${num})${proxyhint}`);
}
}

Expand Down

0 comments on commit 961b9e6

Please sign in to comment.