无用注释等删除及部分改动

merge-requests/1/head
张鑫 5 years ago
parent dae2132940
commit 7c39f3b942

@ -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() {

Loading…
Cancel
Save