natasha 2 years ago
parent
commit
01e3d3ce4a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/courseList.vue

+ 2 - 1
src/views/courseList.vue

@@ -704,7 +704,8 @@ export default {
           } else {
             MethodName = "book-book_manager-AddBook";
           }
-          this.formDialog.publish_status = 1;
+          //   this.formDialog.publish_status = 1;
+          this.formDialog.publish_status = this.tableData[this.rowIndex].publish_status ? this.tableData[this.rowIndex].publish_status : 0
           let data = JSON.parse(JSON.stringify(_this.formDialog));
           getContent(MethodName, data)
             .then((res) => {