Skip to content

Commit

Permalink
fix(style): 按钮位置调整
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Jun 15, 2022
1 parent 2285034 commit c9fad71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions web/dashboard/src/business/workloads/deployments/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<el-button type="primary" size="small" @click="onCreate" v-has-permissions="{scope:'namespace',apiGroup:'apps',resource:'deployments',verb:'create'}">
{{ $t("commons.button.create") }}
</el-button>
<el-button type="primary" size="small" :disabled="selects.length===0" @click="onScale()" v-has-permissions="{ scope: 'namespace', apiGroup: 'apps', resource: 'deployments', verb: 'update' }">
{{ $t("commons.button.scale") }}
</el-button>
<el-button type="primary" size="small" :disabled="selects.length===0" @click="onDelete()" v-has-permissions="{scope:'namespace',apiGroup:'apps',resource:'deployments',verb:'delete'}">
{{ $t("commons.button.delete") }}
</el-button>

<el-button type="primary" size="small" :disabled="selects.length===0" @click="onScale()" v-has-permissions="{ scope: 'namespace', apiGroup: 'apps', resource: 'deployments', verb: 'update' }">
{{ $t("commons.button.scale") }}
</el-button>
</div>
<complex-table :selects.sync="selects" :data="data" v-loading="loading" :pagination-config="paginationConfig" :search-config="searchConfig" @search="search">
<el-table-column type="selection" fix></el-table-column>
Expand Down
6 changes: 3 additions & 3 deletions web/dashboard/src/business/workloads/statefulsets/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<el-button type="primary" size="small" @click="onCreate" v-has-permissions="{scope:'namespace',apiGroup:'apps',resource:'statefulsets',verb:'create'}">
{{ $t("commons.button.create") }}
</el-button>
<el-button type="primary" size="small" :disabled="selects.length===0" @click="onScale()" v-has-permissions="{ scope: 'namespace', apiGroup: 'apps', resource: 'deployments', verb: 'update' }">
{{ $t("commons.button.scale") }}
</el-button>
<el-button type="primary" size="small" :disabled="selects.length===0" @click="onDelete()" v-has-permissions="{scope:'namespace',apiGroup:'apps',resource:'statefulsets',verb:'delete'}">
{{ $t("commons.button.delete") }}
</el-button>

<el-button type="primary" size="small" :disabled="selects.length===0" @click="onScale()" v-has-permissions="{ scope: 'namespace', apiGroup: 'apps', resource: 'deployments', verb: 'update' }">
{{ $t("commons.button.scale") }}
</el-button>
</div>
<complex-table :selects.sync="selects" :data="data" v-loading="loading" :pagination-config="paginationConfig" :search-config="searchConfig" @search="search">
<el-table-column type="selection" fix></el-table-column>
Expand Down

0 comments on commit c9fad71

Please sign in to comment.