|
|
|
@ -35,18 +35,23 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
editPwd() {
|
|
|
|
editPwd() {
|
|
|
|
// localStorage.clear();
|
|
|
|
|
|
|
|
// sessionStorage.clear();
|
|
|
|
|
|
|
|
this.$axios({
|
|
|
|
this.$axios({
|
|
|
|
url: "/app/userCenter",
|
|
|
|
url: "/app/userCenter",
|
|
|
|
method: "GET"
|
|
|
|
method: "GET"
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
|
// res.url = "http://localhost:8080";
|
|
|
|
|
|
|
|
window.open(
|
|
|
|
window.open(
|
|
|
|
res.data.url + "?redirect=" + location.origin + "#/center/edit",
|
|
|
|
res.data.url + "?redirect=" + location.origin + "#/center/edit",
|
|
|
|
"_self"
|
|
|
|
"_self"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
// this.$api.httpApi.userCenter({
|
|
|
|
|
|
|
|
// data: {
|
|
|
|
|
|
|
|
// pageNum:this.pageNum,
|
|
|
|
|
|
|
|
// pageSize:this.pageSize,
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }).then(res => {
|
|
|
|
|
|
|
|
// console.log(res)
|
|
|
|
|
|
|
|
// });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
|