guhongwei 2 năm trước cách đây
mục cha
commit
bc60f9d995
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/api.js

+ 1 - 1
common/api.js

@@ -75,7 +75,7 @@ export const requestBase = async (uri, method = 'GET', data, type) => {
 				},
 			});
 		});
-	} else if (method === 'POST' || method === 'delete') {
+	} else if (method === 'POST' || method === 'Delete') {
 		header.views = views;
 		return new Promise((resolve, reject) => {
 			// rk配置