Browse Source

fix(workPage): 新增831工具类型的学生作业适配逻辑

扩展了作业页面的工具类型判断数组,添加831号工具的适配逻辑
lsc 5 hours ago
parent
commit
b6b0342b11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/pages/workPage/index_new.vue

+ 1 - 1
src/components/pages/workPage/index_new.vue

@@ -364,7 +364,7 @@ export default {
             this.loading = false;
             if (_data.length) {
               _data = _data[0];
-              if (["15", "45", "78", "79"].includes(_data.atool)) {
+              if (["15", "45", "78", "79", "831"].includes(_data.atool)) {
                 let _work = JSON.parse(decodeURIComponent(_data.content));
                 this.studentWork = _work;
                 this.studentWorkToWorkData();