💄 修改表格样式.

This commit is contained in:
lijiahang
2024-07-09 10:34:39 +08:00
parent 7ba278d210
commit a7f86bf62a
20 changed files with 85 additions and 23 deletions

View File

@@ -84,7 +84,7 @@
:hide-asterisk="true">
<host-identity-selector v-model="formModel.identityId" />
</a-form-item>
<!-- 用户名 -->
<!-- 连接超时时间 -->
<a-form-item field="connectTimeout"
label="连接超时时间"
:hide-asterisk="true">

View File

@@ -179,13 +179,15 @@
// 选择公钥文件
const selectPublicFile = async (fileList: FileItem[]) => {
formModel.value.publicKey = await readFileText(fileList[0].file as File);
formModel.value.publicKey = await readFileText(fileList[fileList.length - 1].file as File);
fileList.length = 0;
formRef.value.clearValidate('publicKey');
};
// 选择私钥文件
const selectPrivateFile = async (fileList: FileItem[]) => {
formModel.value.privateKey = await readFileText(fileList[0].file as File);
formModel.value.privateKey = await readFileText(fileList[fileList.length - 1].file as File);
fileList.length = 0;
formRef.value.clearValidate('privateKey');
};