设计页面驻留调整

This commit is contained in:
aixianling
2022-11-09 11:54:15 +08:00
parent c48d86ee42
commit 8252fca39f
3 changed files with 92 additions and 134 deletions

View File

@@ -9,11 +9,12 @@ import List from './components/List.vue'
import Add from './components/Add'
import SourceData from './components/SourceData'
import Preview from "./components/preview";
import DesignDashboard from "./components/Layout";
export default {
name: 'AppDesigner',
label: '大屏设计',
components: {Preview, List, Add, SourceData},
components: {DesignDashboard, Preview, List, Add, SourceData},
props: {
instance: Function,
dict: Object,
@@ -29,7 +30,8 @@ export default {
const {hash} = this.$route
return hash == "#sourceData" ? SourceData :
hash == "#add" ? Add :
hash == "#preview" ? Preview : List
hash == "#preview" ? Preview :
hash == "#design" ? DesignDashboard : List
},
tabs() {
return [