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