fix:修复dashboard内存泄漏

This commit is contained in:
zyh
2022-04-27 16:55:01 +08:00
parent ca432d5962
commit f4c6c62dc5
21 changed files with 3140 additions and 8 deletions

View File

@@ -635,7 +635,7 @@ export default {
const vm = this
this.$get('visual/panel?type=dashboard&pageSize=-1').then(response => {
if (response.code === 200) {
this.panelData = response.data.list
this.panelData = JSON.parse(JSON.stringify(response.data.list))
let isInitData = false
if (response.data.list.length > 0) {
if (this.$store.state.showPanel.id > 0 && this.$store.state.showPanel.name) {