fix:(ui): 修复换行问题,增加导入集群的placeholder

This commit is contained in:
Aaron3S
2021-09-15 17:20:12 +08:00
parent 8c421cfcff
commit 7e5608f45f
2 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
</el-form-item>
<div v-if="form.direction==='forward'&&form.authenticationMode!=='configFile'">
<el-form-item label="API Server" prop="apiServer">
<el-input v-model="form.apiServer" clearable></el-input>
<el-input v-model="form.apiServer" placeholder="eg: https://127.0.0.1:8443" clearable></el-input>
</el-form-item>
<div v-if="!form.apiServerInsecure">
<el-form-item label="Ca Certificate" prop="caDataStr">

View File

@@ -19,13 +19,13 @@
</template>
</el-table-column>
<el-table-column :label="$t('commons.table.name')" prop="name" min-width="100" fix>
<el-table-column :label="$t('commons.table.name')" prop="name" min-width="80" fix>
<template v-slot:default="{row}">
{{ row.name }}
</template>
</el-table-column>
<el-table-column :label="$t('business.cluster.nodes')" min-width="100" fix>
<el-table-column :label="$t('business.cluster.nodes')" min-width="80" fix>
<template v-slot:default="{row}">
<el-tag>
{{ row.extraClusterInfo.readyNodeNum }} / {{ row.extraClusterInfo.totalNodeNum }}
@@ -52,11 +52,11 @@
</el-table-column>
<el-table-column :label="$t('commons.table.creat_by')" prop="createdBy" min-width="100"
<el-table-column :label="$t('commons.table.creat_by')" prop="createdBy" min-width="80"
fix/>
<el-table-column :label="$t('commons.table.created_time')" min-width="100" fix>
<el-table-column :label="$t('commons.table.created_time')" min-width="120" fix>
<template v-slot:default="{row}">
{{ row.createAt | datetimeFormat }}
</template>