Perf: fix memory leak of main page

This commit is contained in:
萌萌哒赫萝 2023-09-10 23:21:39 -07:00
parent 219cbbb253
commit 5392d9e9e7
5 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@
v-model="showInputBoxVisible" v-model="showInputBoxVisible"
:title="inputBoxOptions.title || $T('INPUT')" :title="inputBoxOptions.title || $T('INPUT')"
:modal-append-to-body="false" :modal-append-to-body="false"
append-to-body
> >
<el-input <el-input
v-model="inputBoxValue" v-model="inputBoxValue"

View File

@ -165,6 +165,7 @@
:title="$T('SPONSOR_PICLIST')" :title="$T('SPONSOR_PICLIST')"
width="70%" width="70%"
top="10vh" top="10vh"
append-to-body
> >
{{ $T('PICLIST_SPONSOR_TEXT') }} {{ $T('PICLIST_SPONSOR_TEXT') }}
<el-row class="support"> <el-row class="support">
@ -198,6 +199,7 @@
:title="$T('PICBED_QRCODE')" :title="$T('PICBED_QRCODE')"
:modal-append-to-body="false" :modal-append-to-body="false"
lock-scroll lock-scroll
append-to-body
> >
<el-form <el-form
label-position="left" label-position="left"

View File

@ -294,6 +294,7 @@
:title="$T('CHANGE_IMAGE_URL')" :title="$T('CHANGE_IMAGE_URL')"
width="500px" width="500px"
:modal-append-to-body="false" :modal-append-to-body="false"
append-to-body
> >
<el-input v-model="imgInfo.imgUrl" /> <el-input v-model="imgInfo.imgUrl" />
<template #footer> <template #footer>
@ -315,6 +316,7 @@
align-center align-center
draggable draggable
destroy-on-close destroy-on-close
append-to-body
> >
<el-link <el-link
:underline="false" :underline="false"

View File

@ -194,6 +194,7 @@
c: configName c: configName
})" })"
width="70%" width="70%"
append-to-body
> >
<config-form <config-form
:id="configName" :id="configName"

View File

@ -81,6 +81,7 @@
v-model="keyBindingVisible" v-model="keyBindingVisible"
:title="$T('SHORTCUT_CHANGE_UPLOAD')" :title="$T('SHORTCUT_CHANGE_UPLOAD')"
:modal-append-to-body="false" :modal-append-to-body="false"
append-to-body
> >
<el-form <el-form
label-position="top" label-position="top"