Skip to content

Commit

Permalink
refactor(connection): replace ssl radio button to switch button
Browse files Browse the repository at this point in the history
  • Loading branch information
ysfscream committed Mar 3, 2022
1 parent d53a829 commit 7821292
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/views/connections/ConnectionForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@
<el-col :span="2"></el-col>
<el-col :span="22">
<el-form-item label-width="93px" label="SSL/TLS" prop="ssl">
<el-radio-group v-model="record.ssl" @change="handleSSL">
<el-radio :label="true">true</el-radio>
<el-radio :label="false">false</el-radio>
</el-radio-group>
<el-switch v-model="record.ssl" active-color="#13ce66" inactive-color="#A2A9B0" @change="handleSSL">
</el-switch>
</el-form-item>
</el-col>
<el-col :span="2"></el-col>
Expand Down

0 comments on commit 7821292

Please sign in to comment.