Commit 7dce29bc by 李伟康

commit

1 parent f5fd161d
No preview for this file type
const pages = [{ const pages = [
{
name: 'home', name: 'home',
meta: { meta: {
isTab: true, isTab: true,
...@@ -33,6 +34,14 @@ const pages = [{ ...@@ -33,6 +34,14 @@ const pages = [{
noAuth: true noAuth: true
} }
}] }]
},
{
name: 'psd',
meta: {
isTab: true,
keepAlive: true,
backgroundColor: '#F7F7F7'
},
} }
] ]
const keepAlives = [] const keepAlives = []
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</template> </template>
<script> <script>
export default { export default {
data() { data () {
return { return {
tabList: [ tabList: [
{ {
...@@ -32,7 +32,13 @@ export default { ...@@ -32,7 +32,13 @@ export default {
name: 'workbench', name: 'workbench',
inactive: require('@/assets/images/icon/workbench.png'), inactive: require('@/assets/images/icon/workbench.png'),
active: require('@/assets/images/icon/workbench-active.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 showWindow: false
} }
...@@ -40,19 +46,19 @@ export default { ...@@ -40,19 +46,19 @@ export default {
watch: { watch: {
watchFlag: { watchFlag: {
immediate: true, immediate: true,
handler(newval) { handler (newval) {
this.showWindow = newval this.showWindow = newval
this.hideLoading() this.hideLoading()
} }
} }
}, },
computed: { computed: {
watchFlag() { watchFlag () {
return this.$store.state.app.showWindow return this.$store.state.app.showWindow
} }
}, },
mounted() {}, mounted () { },
methods: {} 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 \ 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!