用户课程列表刷新

This commit is contained in:
2024-10-21 13:28:34 +08:00
parent 1af3692c69
commit b3a05def01

View File

@@ -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",