改为使用vue-cli打包,修改所有的请求方式
This commit is contained in:
31
zyplayer-doc-ui/wiki-ui/src/components/layouts/PageView.vue
Normal file
31
zyplayer-doc-ui/wiki-ui/src/components/layouts/PageView.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<router-view @loadPageList="loadPageList" @changeExpandedKeys="changeExpandedKeys" @switchSpace="switchSpace"/>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'PageView',
|
||||
components: {},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
created() {
|
||||
},
|
||||
watch: {},
|
||||
methods: {
|
||||
loadPageList(param) {
|
||||
this.$emit('loadPageList', param);
|
||||
},
|
||||
changeExpandedKeys(param) {
|
||||
this.$emit('changeExpandedKeys', param);
|
||||
},
|
||||
switchSpace(param) {
|
||||
this.$emit('switchSpace', param);
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user