mirror of
https://github.com/EasyTier/EasytierGame.git
synced 2025-05-19 10:27:56 +00:00
优化文字提示,修复压缩算法选择不生效问题
This commit is contained in:
+3
-3
@@ -86,7 +86,7 @@
|
||||
:disabled="mainStore.config.disbleListenner"
|
||||
v-model="mainStore.config.enableCustomListener"
|
||||
>
|
||||
自定义IPV4监听地址
|
||||
自定义监听地址
|
||||
</ElCheckbox>
|
||||
<ElButton
|
||||
size="small"
|
||||
@@ -188,7 +188,7 @@
|
||||
<div><ElCheckbox v-model="mainStore.config.multiThread">启用多线程运行</ElCheckbox></div>
|
||||
<div class="flex items-center gap-[10px]">
|
||||
<ElText>压缩算法</ElText>
|
||||
<div class="w-[90px]">
|
||||
<div class="w-[160px]">
|
||||
<ElSelect
|
||||
size="small"
|
||||
v-model="mainStore.config.compression"
|
||||
@@ -196,7 +196,7 @@
|
||||
>
|
||||
<ElOption
|
||||
v-for="item in [
|
||||
['none', '默认'],
|
||||
['none', '不压缩(游戏联机推荐)'],
|
||||
['zstd', 'zstd算法']
|
||||
]"
|
||||
:key="item[0]"
|
||||
|
||||
@@ -1183,6 +1183,9 @@
|
||||
if (config.devName && config.devNameValue) {
|
||||
args.push("--dev-name", config.devNameValue);
|
||||
}
|
||||
if(config.compression && config.compression != 'none') {
|
||||
args.push("--compression", config.compression);
|
||||
}
|
||||
return args;
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
effect="dark"
|
||||
:type="row.cost == 'p2p' ? 'success' : 'info'"
|
||||
>
|
||||
{{ row.cost }}
|
||||
{{ row.cost ? row.cost.replace("relay", "中转") : row.cost }}
|
||||
</ElTag>
|
||||
</template>
|
||||
</ElTableColumn>
|
||||
|
||||
Reference in New Issue
Block a user