js判斷手機有無網絡

const result= yield call(login, payload); if (result.err && !result.err.response) { // 無網絡 } else { // 有網絡 }
相關文章
相關標籤/搜索