This commit is contained in:
GoEdgeLab
2024-07-27 15:42:58 +08:00
parent 7279dc873f
commit d7d0c8fbfe
490 changed files with 2158 additions and 738 deletions

View File

@@ -14,6 +14,23 @@
<p class="comment">当前节点可以使用的最多的CPU线程数如果为0则默认为总的CPU线程数。<pro-warning-label></pro-warning-label></p>
</td>
</tr>
<tr v-show="teaIsPlus">
<td class="title">BYPASS 移动</td>
<td>
<div class="ui checkbox">
<input type="checkbox" id="bypassMobileCheckbox" :name="bypassMobileCheckbox" v-model="node.bypassMobileCheckbox" @change="changeBypassMobile"/>
<label for="bypassMobileCheckbox"><slot></slot></label>
</div>
<p class="comment"><plus-label></plus-label>选中后可优化移动网络访问成功率对于正常站点会增加访问延迟节点需安装nftables。<pro-warning-label></pro-warning-label></p>
</td>
</tr>
<tr v-show="teaIsPlus && node.bypassMobileCheckbox">
<td class="title">BYPASS 移动,窗口大小</td>
<td>
<input type="text" name="bypassMobile" v-model="node.bypassMobile"/>
<p class="comment"><plus-label></plus-label>TCP接收窗口大小默认值17。<pro-warning-label></pro-warning-label></p>
</td>
</tr>
</table>
<h4>DNS解析</h4>

View File

@@ -1,3 +1,11 @@
Tea.context(function () {
this.success = NotifyReloadSuccess("保存成功")
this.changeBypassMobile = function(bypassMobile) {
if (bypassMobile.target.checked) {
this.node.bypassMobile = 17;
} else {
this.node.bypassMobile = 0;
}
}
})