33 lines
519 B
Vue
33 lines
519 B
Vue
<template>
|
|
<section class="appEntry">
|
|
<component v-if="app" :is="app" :instance="$axios" :dict="$dict" :permissions="$permissions"/>
|
|
<ai-empty v-else>无法找到应用文件</ai-empty>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
name: "appEntry",
|
|
label: "应用库-应用",
|
|
computed: {
|
|
app() {
|
|
return this.$route.name
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.appEntry {
|
|
width: 100%;
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
|
|
& > * {
|
|
height: 100%;
|
|
}
|
|
}
|
|
</style>
|