diff --git a/src/views/modules/book/categorytree.vue b/src/views/modules/book/categorytree.vue index c4f6e85..3ce0d6a 100644 --- a/src/views/modules/book/categorytree.vue +++ b/src/views/modules/book/categorytree.vue @@ -203,9 +203,9 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl(`/book/bookCategory/delete`), + url: this.$http.adornUrl(`/book/bookCategory/delete?id=` + data.id), method: 'post', - data: this.$http.adornData(ids, false) + data: {} }).then(({ data }) => { this.$message({ type: 'success',