Prechádzať zdrojové kódy

fix: 修复setTicket后的再次请求

carver 2 rokov pred
rodič
commit
4afaee591e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      antbuilder/core/utils/request.js

+ 1 - 1
antbuilder/core/utils/request.js

@@ -236,7 +236,7 @@ export async function ywtRequest(options) {
 	if (code === 20001 || code === 20002 || code === 20008) {
 		const [error] = await setTicket();
 		if (!error) {
-			const result = await _ywtRequest(options);
+			const result = await ywtRequest(options);
 			return result;
 		}
 		return [error, null];