产品库升级,不用再改加载路径了
This commit is contained in:
		| @@ -7,12 +7,16 @@ | ||||
|  | ||||
| <script> | ||||
|  | ||||
| import {mapState} from "vuex"; | ||||
|  | ||||
| export default { | ||||
|   name: "appEntry", | ||||
|   label: "应用库-应用", | ||||
|   computed: { | ||||
|     ...mapState(['apps']), | ||||
|     app() { | ||||
|       return this.$route.name | ||||
|       let app = this.apps.find(e => e.name == this.$route.name) | ||||
|       return app ? app.module : "" | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user