|
@@ -26,6 +26,7 @@ export default {
|
|
mounted() {
|
|
mounted() {
|
|
this.id = this.$route.query.id,
|
|
this.id = this.$route.query.id,
|
|
this.getMemberInfo();
|
|
this.getMemberInfo();
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
@@ -33,11 +34,11 @@ export default {
|
|
this.$router.go(-1);
|
|
this.$router.go(-1);
|
|
},
|
|
},
|
|
getMemberInfo() {
|
|
getMemberInfo() {
|
|
- this.$axios.post('/user/getUserInfo', { userId : this.id})
|
|
|
|
|
|
+ this.$axios.post('/user/getBaseInfo', { userId : this.id})
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
this.user = res.data
|
|
this.user = res.data
|
|
-
|
|
|
|
|
|
+ console.log(this.user)
|
|
} else {
|
|
} else {
|
|
this.$toast.clear();
|
|
this.$toast.clear();
|
|
this.$toast.fail(res.msg);
|
|
this.$toast.fail(res.msg);
|