Browse Source

fix: 关闭抽屉同时销毁全部子元素 (#5776)

pull/5781/head
4 months ago committed by GitHub
parent
commit
d2740308a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      frontend/src/views/host/file-management/wget/index.vue
  2. 8
      frontend/src/views/toolbox/supervisor/create/index.vue
  3. 8
      frontend/src/views/website/runtime/go/operate/index.vue
  4. 8
      frontend/src/views/website/runtime/java/operate/index.vue
  5. 8
      frontend/src/views/website/runtime/node/operate/index.vue
  6. 1
      frontend/src/views/website/ssl/ca/obtain/index.vue
  7. 8
      frontend/src/views/website/ssl/create/index.vue
  8. 8
      frontend/src/views/website/ssl/upload/index.vue

1
frontend/src/views/host/file-management/wget/index.vue

@ -1,6 +1,7 @@
<template>
<el-drawer
v-model="open"
:destroy-on-close="true"
:before-close="handleClose"
size="50%"
:close-on-click-modal="false"

8
frontend/src/views/toolbox/supervisor/create/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="30%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="30%"
>
<template #header>
<DrawerHeader
:header="process.operate == 'create' ? $t('commons.button.create') : $t('commons.button.edit')"

8
frontend/src/views/website/runtime/go/operate/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="50%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="50%"
>
<template #header>
<DrawerHeader
:header="$t('runtime.' + mode)"

8
frontend/src/views/website/runtime/java/operate/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="50%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="50%"
>
<template #header>
<DrawerHeader
:header="$t('runtime.' + mode)"

8
frontend/src/views/website/runtime/node/operate/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="50%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="50%"
>
<template #header>
<DrawerHeader
:header="$t('runtime.' + mode)"

1
frontend/src/views/website/ssl/ca/obtain/index.vue

@ -5,6 +5,7 @@
:close-on-click-modal="false"
width="40%"
:before-close="handleClose"
:destroy-on-close="true"
>
<el-row v-loading="loading">
<el-col :span="22" :offset="1">

8
frontend/src/views/website/ssl/create/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="50%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="50%"
>
<template #header>
<DrawerHeader :header="$t('ssl.' + operate)" :back="handleClose" />
</template>

8
frontend/src/views/website/ssl/upload/index.vue

@ -1,5 +1,11 @@
<template>
<el-drawer :close-on-click-modal="false" :close-on-press-escape="false" v-model="open" size="50%">
<el-drawer
:destroy-on-close="true"
:close-on-click-modal="false"
:close-on-press-escape="false"
v-model="open"
size="50%"
>
<template #header>
<DrawerHeader :header="$t('ssl.upload')" :back="handleClose" />
</template>

Loading…
Cancel
Save