Skip to content

Commit

Permalink
Revert "try to fix"
Browse files Browse the repository at this point in the history
This reverts commit 67385fb.
  • Loading branch information
kenichiLyon committed Dec 26, 2024
1 parent 1abc3f3 commit 38155d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/api/im_connections/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function postConnectSetData(

export function postSetSignServer(
id: string,
signServerUrl: string | 'sealdice' | 'lagrange' | 'newProxy',
signServerUrl: string | 'sealdice' | 'lagrange',
w: boolean,
signServerVersion: string,
) {
Expand Down
15 changes: 5 additions & 10 deletions src/components/PageConnectInfoItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,9 @@
class="the-dialog">
<el-form-item label="签名地址" :label-width="formLabelWidth" required>
<el-radio-group v-model="form.signServerType">
<el-radio :value="0">海豹</el-radio>
<el-radio :value="1">Lagrange</el-radio>
<el-radio :value="2">新反代</el-radio>
<el-radio :value="3">自定义地址</el-radio>
<el-radio :value="0">海豹</el-radio>
<el-radio :value="1">Lagrange</el-radio>
<el-radio :value="2">自定义地址</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
Expand Down Expand Up @@ -904,8 +903,7 @@
<el-radio-group v-model="form.signServerType">
<el-radio :value="0">海豹</el-radio>
<el-radio :value="1">Lagrange</el-radio>
<el-radio :value="2">新反代</el-radio>
<el-radio :value="3">自定义地址</el-radio>
<el-radio :value="2">自定义地址</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
Expand All @@ -922,8 +920,8 @@
required>
<el-space direction="vertical" alignment="flex-start">
<el-radio-group v-model="form.signServerVersion">
<el-radio value="13107">13107</el-radio>
<el-radio value="25765">25765</el-radio>
<el-radio value="30366">30366</el-radio>
</el-radio-group>
<el-text type="warning" size="small"
>如果不知道这是什么,请保持默认选中的最新版本</el-text
Expand Down Expand Up @@ -2192,9 +2190,6 @@ const showSetSignServerDialog = async (i: DiceConnection) => {
form.signServerType = 1;
form.signServerUrl = '';
break;
case 'newProxy':
form.signServerType = 3;
form.signServerUrl = '';
default:
form.signServerType = 2;
break;
Expand Down

0 comments on commit 38155d2

Please sign in to comment.