用户课程列表刷新
This commit is contained in:
@@ -330,11 +330,14 @@ export default {
|
|||||||
// AddOrUpdate
|
// AddOrUpdate
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.userId=this.$route.query.id
|
||||||
console.log(this.$route.query);
|
console.log(this.$route.query);
|
||||||
console.log(this.userId, "onsole.log(this.$route.query)");
|
console.log(this.userId, "onsole.log(this.$route.query)");
|
||||||
this.init();
|
this.init();
|
||||||
},
|
},
|
||||||
activated() {
|
activated() {
|
||||||
|
this.userId=this.$route.query.id
|
||||||
|
this.init();
|
||||||
// this.getDataList()
|
// this.getDataList()
|
||||||
// this.getcourpeList()
|
// this.getcourpeList()
|
||||||
},
|
},
|
||||||
@@ -483,11 +486,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
if (!this.userId) {
|
// if (!this.userId) {
|
||||||
setTimeout(() => {
|
// setTimeout(() => {
|
||||||
this.init();
|
// this.init();
|
||||||
}, 1000);
|
// }, 1000);
|
||||||
}
|
// }
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl(`/book/user/info/${this.userId}`),
|
url: this.$http.adornUrl(`/book/user/info/${this.userId}`),
|
||||||
method: "get",
|
method: "get",
|
||||||
|
|||||||
Reference in New Issue
Block a user