优化调整web端内存溢出的问题

This commit is contained in:
aixianling
2023-04-04 09:19:47 +08:00
parent 5e7ef3d27a
commit f3cf8360c2
6 changed files with 78 additions and 26 deletions

View File

@@ -8,6 +8,7 @@
<script>
import {mapState} from "vuex";
import Vue from "vue";
export default {
name: "appEntry",
@@ -15,8 +16,8 @@ export default {
computed: {
...mapState(['apps']),
app() {
let app = this.apps.find(e => e.name == this.$route.name)
return app ? app.module : ""
const app = this.apps.find(e => e.name == this.$route.name)
return app.esm ?? ""
}
},
mounted() {