guhongwei há 2 anos atrás
pai
commit
bc60f9d995
1 ficheiros alterados com 1 adições e 1 exclusões
  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配置