mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 16:29:17 +08:00
fix: 关闭抽屉同时销毁全部子元素 (#5776)
This commit is contained in:
parent
6f86dda1aa
commit
d2740308a1
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="open"
|
v-model="open"
|
||||||
|
:destroy-on-close="true"
|
||||||
:before-close="handleClose"
|
:before-close="handleClose"
|
||||||
size="50%"
|
size="50%"
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader
|
<DrawerHeader
|
||||||
:header="process.operate == 'create' ? $t('commons.button.create') : $t('commons.button.edit')"
|
:header="process.operate == 'create' ? $t('commons.button.create') : $t('commons.button.edit')"
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader
|
<DrawerHeader
|
||||||
:header="$t('runtime.' + mode)"
|
:header="$t('runtime.' + mode)"
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader
|
<DrawerHeader
|
||||||
:header="$t('runtime.' + mode)"
|
:header="$t('runtime.' + mode)"
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader
|
<DrawerHeader
|
||||||
:header="$t('runtime.' + mode)"
|
:header="$t('runtime.' + mode)"
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
width="40%"
|
width="40%"
|
||||||
:before-close="handleClose"
|
:before-close="handleClose"
|
||||||
|
:destroy-on-close="true"
|
||||||
>
|
>
|
||||||
<el-row v-loading="loading">
|
<el-row v-loading="loading">
|
||||||
<el-col :span="22" :offset="1">
|
<el-col :span="22" :offset="1">
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader :header="$t('ssl.' + operate)" :back="handleClose" />
|
<DrawerHeader :header="$t('ssl.' + operate)" :back="handleClose" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
<template>
|
<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>
|
<template #header>
|
||||||
<DrawerHeader :header="$t('ssl.upload')" :back="handleClose" />
|
<DrawerHeader :header="$t('ssl.upload')" :back="handleClose" />
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user