V1.2.0已发布的测试版

This commit is contained in:
2025-08-08 17:15:09 +08:00
parent 9153dff407
commit e50db2f719
45 changed files with 310 additions and 157 deletions

View File

@@ -35,16 +35,9 @@ export default {
},
mounted() {
this.fetchProblemsList(this.listParams)
if (this.$route.query.id) {
this.DetailsParams.id = this.$route.query.id
}else if(this.problems.length > 0){
this.DetailsParams.id = this.problems[0].id;
}
console.log(this.DetailsParams.id,"this.DetailsPara发发发麻烦你ms.id");
this.fetchProblemDetails(this.DetailsParams)
},
methods: {
@@ -53,11 +46,14 @@ export default {
const res = await documentsList(params)
if(res && res.code === 200){
this.problems = res.rows;
if (!this.$route.query.id) {
this.DetailsParams.id = this.problems[0].id;
}
// this.DetailsParams.id = this.problems[0].id;
// this.fetchProblemDetails(this.DetailsParams)
if (this.$route.query.id) {
this.DetailsParams.id = this.$route.query.id
}else if(this.problems.length > 0){
this.DetailsParams.id = this.problems[0].id;
}
this.fetchProblemDetails(this.DetailsParams)
}
this.setLoading('problemLoading', false);
},