|
|
@@ -302,11 +302,11 @@ export default {
|
|
|
this.$refs.deleteDialog.openPopup(book);
|
|
|
},
|
|
|
|
|
|
- confirmDelete(book) {
|
|
|
+ confirmDelete() {
|
|
|
uni.$u.http
|
|
|
.post("/token/order/removeBook", {
|
|
|
- orderId: book.orderId,
|
|
|
- isbn: book.isbn,
|
|
|
+ orderId: this.deleteBook.orderId,
|
|
|
+ isbn: this.deleteBook.isbn,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200) {
|