自己写一套权限控制,去掉spring security
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user