lsc 1 месяц назад
Родитель
Сommit
98733530c1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/components/pages/data.vue

+ 2 - 2
src/components/pages/data.vue

@@ -362,7 +362,7 @@ export default {
     getUser() {
       let params = { uid: this.userid };
       this.ajax
-        .get(this.$store.state.api + "getUser", params)
+        .get(this.$store.state.api + "getUser2", params)
         .then((res) => {
           this.userinfo = res.data[0][0];
           // this.$cookies.set("userInfo", this.userinfo, -1);
@@ -377,7 +377,7 @@ export default {
     getDetail() {
       let params = { uid: this.userid };
       this.ajax
-        .get(this.$store.state.api + "getUser", params)
+        .get(this.$store.state.api + "getUser2", params)
         .then((res) => {
           if (res.data[0][0]) {
             res.data[0][0].sex = res.data[0][0].sex ? "女" : "男";