优化调整web端内存溢出的问题
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user