natasha hace 2 años
padre
commit
01e3d3ce4a
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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) => {