Browse Source

delete put 请求修改成 post 请求

YangZhiJie 2 năm trước cách đây
mục cha
commit
9b6ebc785e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/api/wms/BalanceInventoryResource.js

+ 1 - 1
src/api/wms/BalanceInventoryResource.js

@@ -50,7 +50,7 @@ export default{
     return new Promise((resolve, reject) => {
       $.ajax({
         url: Common.getApiURL(requestUrl),
-        type: 'delete',
+        type: 'post',
         contentType: 'application/json',
 				
         dataType: 'json',