diff --git a/linker.web/src/views/full/server/Async.vue b/linker.web/src/views/full/server/Async.vue index 4de37b73..ad7fd4eb 100644 --- a/linker.web/src/views/full/server/Async.vue +++ b/linker.web/src/views/full/server/Async.vue @@ -2,33 +2,27 @@
同步,信标服务器,中继服务器,服务器代理穿透,的密钥到所有客户端
-
同步,信标服务器,端口服务器,中继服务器,列表到所有客户端
-
diff --git a/linker.web/src/views/full/server/Index.vue b/linker.web/src/views/full/server/Index.vue index a05f2231..c7b649b7 100644 --- a/linker.web/src/views/full/server/Index.vue +++ b/linker.web/src/views/full/server/Index.vue @@ -16,7 +16,7 @@ export default { components:{}, setup(props) { - const excludes = ['./Index.vue','./Version.vue'] + const excludes = ['./Index.vue','./Version.vue','./TunnelServers.vue'] const files = require.context('./', true, /.+\.vue/); const settingComponents = files.keys().filter(c=>excludes.includes(c)==false).map(c => files(c).default).sort((a,b)=>a.order-b.order); diff --git a/linker.web/src/views/full/server/SignInServers.vue b/linker.web/src/views/full/server/SignInServers.vue index 52eaab64..9791fff7 100644 --- a/linker.web/src/views/full/server/SignInServers.vue +++ b/linker.web/src/views/full/server/SignInServers.vue @@ -59,6 +59,7 @@ import { injectGlobalData } from '@/provide'; import { ElMessage, ElMessageBox } from 'element-plus'; import { computed, inject, reactive, watch } from 'vue' import { Delete,Plus,Select } from '@element-plus/icons-vue'; +import { setTunnelServers } from '@/apis/tunnel'; export default { label:'信标服务器', name:'signInServers', @@ -114,10 +115,21 @@ export default { } const handleSave = ()=>{ + + const tunnelServers = globalData.value.config.Client.Tunnel.Servers.slice(); + const server = state.list[0]; + for(let i=0;i{ ElMessage.success('已操作'); }).catch(()=>{ ElMessage.error('操作失败'); + }); + setTunnelServers(tunnelServers).then(()=>{ + ElMessage.success('已操作'); + }).catch(()=>{ + ElMessage.error('操作失败'); });; } diff --git a/version.txt b/version.txt index d1777f93..ec2b5052 100644 --- a/version.txt +++ b/version.txt @@ -1,5 +1,5 @@ v1.4.2 -2024-09-23 15:39:00 +2024-09-23 17:05:56 1. 优化服务器代理穿透,延长UDP超时时间,优化穿透添加逻辑 2. 当提示端口被占用时,可以稍等一段时间再尝试启动穿透 3. 优化配置同步 \ No newline at end of file