Skip to content

Commit

Permalink
fix:(ui): 修复换行问题,增加导入集群的placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron3S committed Sep 15, 2021
1 parent 8c421cf commit 7e5608f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
8 changes: 4 additions & 4 deletions web/kubepi/src/business/cluster-management/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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>
Expand Down

0 comments on commit 7e5608f

Please sign in to comment.