我有一个加载 WebView 的应用程序。为了登录,该网站需要基本身份验证。当我尝试通过默认浏览器访问网站时,我收到一个弹出框,提示我输入用户名和密码。
如果我尝试通过我的应用程序访问网站,我会收到错误 401 并且没有弹出窗口。我想知道是否有人可以帮助我?
Type 'Omit<T & { _id: string; }, "_id">' is not assignable to type 'T'.
'T' could be instantiated with an arbitrary type which could be unrelated to 'Omit<T & { _id: string; }, "_id">'