desc: 调整个人信息修改接口参数
This commit is contained in:
parent
60c58fe290
commit
d056b8bfc8
@ -119,7 +119,7 @@
|
||||
<script>
|
||||
import md5 from 'js-md5';
|
||||
import { getInfo } from '@/api/login';
|
||||
import { getDesignToken } from '@/utils/auth'; // 验权
|
||||
import { getDesignToken, getToken } from '@/utils/auth'; // 验权
|
||||
import { getUserinfoName, getUserinfoNickname, getUserinfoMobile, getUserinfoMobileCode, getUserinfoEmailCode, getUserinfoEmail, getUserinfoPassword } from '@/api/management/user';
|
||||
import { setInterval, clearInterval } from 'timers';
|
||||
|
||||
@ -187,7 +187,8 @@ export default {
|
||||
},
|
||||
doShow() {
|
||||
this.visible = true;
|
||||
getInfo(getDesignToken()).then(response => {
|
||||
const token = getToken() || getDesignToken();
|
||||
getInfo(token).then(response => {
|
||||
const user = response.data;
|
||||
this.userInfo = {
|
||||
name: user.name,
|
||||
|
Loading…
Reference in New Issue
Block a user