From f2143fa8ea7cca8eb290e969bfbe02f14c3e60bf Mon Sep 17 00:00:00 2001 From: 梁保满 Date: Wed, 28 Feb 2024 10:23:05 +0800 Subject: [PATCH] 隋堂问任课老师参数修改 --- src/views/basic/ask/index.vue | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/basic/ask/index.vue b/src/views/basic/ask/index.vue index 2f1545c..40f1f76 100644 --- a/src/views/basic/ask/index.vue +++ b/src/views/basic/ask/index.vue @@ -288,6 +288,10 @@ export default { if (this.query.subjectNames.length == 0) { this.$message.warning("请选择科目!"); return; + } else { + if (typeof this.query.subjectNames == "string") { + this.query.subjectNames = [this.query.subjectNames]; + } } this.$router.push({ path: "/askList", -- libgit2 0.21.4