设计页面驻留调整
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user