网格管理调整完毕

This commit is contained in:
aixianling
2022-04-28 18:39:32 +08:00
parent 86a1128d9a
commit 4cb734cbe0
12 changed files with 305 additions and 480 deletions

View File

@@ -0,0 +1,39 @@
<template>
<div class="AppGridBlock">
<component :is="currentPage" :instance="instance" :dict="dict"/>
</div>
</template>
<script>
import List from "./components/list";
import Add from "./components/add";
export default {
name: "AppGridBlock",
label: "网格区块(saas)",
props: {
instance: Function,
dict: Object,
},
computed: {
currentPage() {
return this.$route.hash == "#add" ? Add : List
}
},
data() {
return {
component: "List",
};
},
components: {Add, List},
};
</script>
<style lang="scss">
.AppGridBlock {
height: 100%;
background: #f3f6f9;
overflow: auto;
}
</style>