mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 16:07:52 +08:00
feat: web端新增优先展示密码组件
This commit is contained in:
@@ -130,8 +130,8 @@
|
||||
label="认证方式"
|
||||
prop="authType"
|
||||
>
|
||||
<el-radio v-model="hostForm.authType" value="privateKey">密钥</el-radio>
|
||||
<el-radio v-model="hostForm.authType" value="password">密码</el-radio>
|
||||
<el-radio v-model="hostForm.authType" value="privateKey">密钥</el-radio>
|
||||
<el-radio v-model="hostForm.authType" value="credential">凭据</el-radio>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@@ -403,7 +403,7 @@ const formField = {
|
||||
host: '',
|
||||
port: 22,
|
||||
username: 'root',
|
||||
authType: 'privateKey', // privateKey, password, credential
|
||||
authType: 'password', // password, privateKey, credential
|
||||
password: '',
|
||||
privateKey: '',
|
||||
credential: '', // credentials -> _id
|
||||
|
||||
Reference in New Issue
Block a user