Commit 7dce29bc by 李伟康

commit

1 parent f5fd161d
No preview for this file type
const pages = [{
const pages = [
{
name: 'home',
meta: {
isTab: true,
......@@ -33,6 +34,14 @@ const pages = [{
noAuth: true
}
}]
},
{
name: 'psd',
meta: {
isTab: true,
keepAlive: true,
backgroundColor: '#F7F7F7'
},
}
]
const keepAlives = []
......
......@@ -18,7 +18,7 @@
</template>
<script>
export default {
data() {
data () {
return {
tabList: [
{
......@@ -32,7 +32,13 @@ export default {
name: 'workbench',
inactive: require('@/assets/images/icon/workbench.png'),
active: require('@/assets/images/icon/workbench-active.png')
}
},
// {
// title: '素材库',
// name: 'psd',
// inactive: require('@/assets/images/icon/workbench.png'),
// active: require('@/assets/images/icon/workbench-active.png')
// }
],
showWindow: false
}
......@@ -40,19 +46,19 @@ export default {
watch: {
watchFlag: {
immediate: true,
handler(newval) {
handler (newval) {
this.showWindow = newval
this.hideLoading()
}
}
},
computed: {
watchFlag() {
watchFlag () {
return this.$store.state.app.showWindow
}
},
mounted() {},
mounted () { },
methods: {}
}
......
<template>
<div>
素材库
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: '',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!