自己写一套权限控制,去掉spring security

This commit is contained in:
暮光:城中城
2019-05-29 23:03:30 +08:00
parent 25b4089a8f
commit c3b3b60d93
29 changed files with 1008 additions and 520 deletions

View File

@@ -1,18 +1,34 @@
<template>
<div>欢迎使用wiki文档管理工具</div>
<div v-on:click="sendMsgToParent">
<div style="margin-top: 30px;color: #666; text-align: center; font-size: 30px;">欢迎使用在线文档</div>
<div style="margin-top: 30px;color: #666; text-align: center;">
{{nowSpaceShow.name}}
<span v-show="nowSpaceShow.spaceExplain && nowSpaceShow.spaceExplain.length > 0"> · {{nowSpaceShow.spaceExplain}}</span>
</div>
</div>
</template>
<script>
import global from '../../common/config/global'
export default {
data() {
return {};
return {
nowSpaceShow: {
name: '',
spaceExplain: '',
}
};
},
mounted: function () {
// this.getUserInfo();
},
methods: {
getUserInfo: function () {
this.common.post(this.apilist1.getUserInfo, {}, function (json) {});
// this.common.post(this.apilist1.getUserInfo, {}, function (json) {});
},
sendMsgToParent: function () {
global.vue.$app.sendMsgToParent("xxx");
}
}
}