|
@@ -40,6 +40,7 @@
|
|
|
import resetPwd from "../views/system/user/profile/resetPwd";
|
|
|
import { getUserProfile } from "@/api/system/user";
|
|
|
import { selectConfigKey } from "@/api/system/config";
|
|
|
+import Cookies from 'js-cookie';
|
|
|
export default {
|
|
|
components: {resetPwd },
|
|
|
data() {
|
|
@@ -80,6 +81,8 @@ import { selectConfigKey } from "@/api/system/config";
|
|
|
this.nickName=response.data.nickName
|
|
|
this.deptNames=response.data.deptNames
|
|
|
this.phonenumber=response.data.phonenumber
|
|
|
+ this.userId=response.data.userId
|
|
|
+ Cookies.set('userId',response.data.userId);
|
|
|
});
|
|
|
},
|
|
|
resetPwd(){
|