..
This commit is contained in:
@@ -261,12 +261,7 @@
|
||||
|
||||
<!--vuex-->
|
||||
<script type="text/javascript">
|
||||
$.get('/platform/auth/userInfo').then(res=>{
|
||||
if(res.code===0){
|
||||
// window.sessionStorage.setItem("user",JSON.stringify(${json(@auth.getLogonUser())}))
|
||||
window.sessionStorage.setItem("user",JSON.stringify(res.data))
|
||||
}
|
||||
})
|
||||
window.sessionStorage.setItem("user",JSON.stringify(${json(@auth.getLogonUser())}))
|
||||
window.store = new Vuex.Store({
|
||||
plugins: [
|
||||
createPersistedState({
|
||||
|
||||
@@ -20,7 +20,9 @@ layout("/layouts/platform.html"){
|
||||
@node-click="treeNodeClick"
|
||||
:filter-node-method="filterNode"
|
||||
highlight-current
|
||||
></el-tree>
|
||||
>
|
||||
|
||||
</el-tree>
|
||||
</div>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
||||
Reference in New Issue
Block a user