guhongwei %!s(int64=2) %!d(string=hai) anos
pai
achega
bc60f9d995
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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配置