Browse Source

取消禁止上架状态编辑教材

natasha 1 year ago
parent
commit
9434e0ffe7
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/views/courseList.vue

+ 7 - 7
src/views/courseList.vue

@@ -576,13 +576,13 @@ export default {
       this.getList();
     },
     handleClick(row) {
-      if (row.publish_status == 1) {
-        this.$message({
-          type: "warning",
-          message: "此教材处于上架状态不可以进行编辑",
-        });
-        return false;
-      }
+    //   if (row.publish_status == 1) {
+    //     this.$message({
+    //       type: "warning",
+    //       message: "此教材处于上架状态不可以进行编辑",
+    //     });
+    //     return false;
+    //   }
       sessionStorage.setItem("Bookdetail", JSON.stringify(row));
       this.$router.push("/input?bookId=" + row.id);
     },