Browse Source

新增或者编辑抽题模板,保存时都统一跳转到 抽屉模板管理 列表页面

刘洋 2 years ago
parent
commit
f6453aad22
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/modules/questions/views/AddPaperSelect.vue

+ 2 - 1
src/modules/questions/views/AddPaperSelect.vue

@@ -337,7 +337,8 @@ export default {
               .post("/api/ecs_ques/randompaper/save", qs.stringify(params))
               .then(() => {
                 this.$message.success("保存成功");
-                this.$router.back();
+                // this.$router.back();
+                this.$router.push("/questions/extract_paper_template");
               })
               .catch((err) => {
                 if (