guhongwei 2 years ago
parent
commit
bc60f9d995
1 changed files with 1 additions and 1 deletions
  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配置