@@ -1120,6 +1120,13 @@ export default {
},
// 删除书籍
handleDel(row) {
+ if(row.publish_status==1){
+ this.$message({
+ type: "warning",
+ message: "此教材处于上架状态不可以进行删除",
+ });
+ return false
+ }
this.$confirm("确定要删除此书籍吗?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",