Commit f2143fa8ea7cca8eb290e969bfbe02f14c3e60bf
1 parent
4611ba8f
隋堂问任课老师参数修改
Showing
1 changed file
with
4 additions
and
0 deletions
src/views/basic/ask/index.vue
| ... | ... | @@ -288,6 +288,10 @@ export default { |
| 288 | 288 | if (this.query.subjectNames.length == 0) { |
| 289 | 289 | this.$message.warning("请选择科目!"); |
| 290 | 290 | return; |
| 291 | + } else { | |
| 292 | + if (typeof this.query.subjectNames == "string") { | |
| 293 | + this.query.subjectNames = [this.query.subjectNames]; | |
| 294 | + } | |
| 291 | 295 | } |
| 292 | 296 | this.$router.push({ |
| 293 | 297 | path: "/askList", | ... | ... |