-- fix bug

This commit is contained in:
yuping
2023-03-03 19:23:23 +08:00
parent 55b0c887b4
commit 8b6e5201ce
4 changed files with 144 additions and 88 deletions

View File

@@ -237,7 +237,7 @@ export function useRequest(_url, params = {}, init = true) {
};
}
export async function boeRequest(_url, params) {
export async function boeRequest(_url, params = {}) {
const s = _url.split(' ')
let url = s[0]
const method = s[1]?.toLowerCase() || 'get'