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,6 +288,10 @@ export default { | ||
288 | if (this.query.subjectNames.length == 0) { | 288 | if (this.query.subjectNames.length == 0) { |
289 | this.$message.warning("请选择科目!"); | 289 | this.$message.warning("请选择科目!"); |
290 | return; | 290 | return; |
291 | + } else { | ||
292 | + if (typeof this.query.subjectNames == "string") { | ||
293 | + this.query.subjectNames = [this.query.subjectNames]; | ||
294 | + } | ||
291 | } | 295 | } |
292 | this.$router.push({ | 296 | this.$router.push({ |
293 | path: "/askList", | 297 | path: "/askList", |