Commit d0829f29 authored by 罗林杰's avatar 罗林杰

Merge remote-tracking branch 'origin/master'

parents 1b55cbd3 58e4edca
......@@ -136,13 +136,10 @@ export function deptTreeSelect() {
}
// 根据用户名查询实际名称
export function showName(userName) {
export function showName() {
return request({
url: '/system/user/showName',
method: 'get',
params: {
username: userName
}
method: 'get'
})
}
......@@ -114,7 +114,7 @@ export default {
RuoYiDoc
},
mounted() {
showName(Cookies.get('username')).then(response => {
showName().then(response => {
if(response.code === 200){
this.username = response.msg
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment