Skip to content

Commit

Permalink
fix: 右侧抽屉宽度调整 (#1047)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu authored May 15, 2023
1 parent 212c863 commit c133223
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion frontend/src/views/container/image/save/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('container.exportImage')" :back="handleClose" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/container/image/tag/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('container.imageTag')" :resource="form.itemName" :back="handleClose" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/container/network/create/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('container.createNetwork')" :back="handleClose" />
</template>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/views/container/repo/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ const onCheckConn = async (row: Container.RepoInfo) => {
const buttons = [
{
label: i18n.global.t('commons.button.sync'),
disabled: (row: Container.RepoInfo) => {
return row.downloadUrl === 'docker.io';
},
click: (row: Container.RepoInfo) => {
onCheckConn(row);
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/container/repo/operator/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader
:header="title + $t('container.repo')"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/container/volume/create/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="drawerVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('container.createVolume')" :back="handleClose" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/database/mysql/create/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="createVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="50%">
<el-drawer v-model="createVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('database.create')" :back="handleClose" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/database/mysql/remote/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-drawer v-model="dialogVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="40%">
<el-drawer v-model="dialogVisiable" :destroy-on-close="true" :close-on-click-modal="false" size="30%">
<template #header>
<DrawerHeader :header="$t('database.remoteAccess')" :back="handleClose" />
</template>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/setting/safe/ssl/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:destroy-on-close="true"
@close="handleClose"
:close-on-click-modal="false"
size="50%"
size="30%"
>
<template #header>
<DrawerHeader header="https" :back="handleClose" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/setting/snapshot/import/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div v-loading="loading">
<el-drawer v-model="drawerVisiable" size="50%">
<el-drawer v-model="drawerVisiable" size="30%">
<template #header>
<DrawerHeader :header="$t('setting.importSnapshot')" :back="handleClose" />
</template>
Expand Down

0 comments on commit c133223

Please sign in to comment.