Parcourir la source

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

natasha il y a 1 an
Parent
commit
9434e0ffe7
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  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);
     },