- 部分PC端发起网络请求会报ERR_SSL_CLIENT_AUTH_CERT_NEEDED?
手机端正常,有的PC端也正常,只有部分PC端无法访问网络。Failed to load resource: net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED
2024-07-29 - pc真机调试报错,onReceiveNetworkHeader is not a function?
pc真机调试报错 点击按钮,发起网络请求的时候会报这个错误,请问怎么解决 globalThis.RemoteDebugger.debuggerConnection.onReceiveNetworkHeader is not a function at Object.t.createRequestTask (servicewechat.com/wx5b19bdd021234933/0/index.js:3) at Object.invoke (servicewechat.com/wx5b19bdd021234933/0/index.js:3)
2023-06-30 - 有的电脑端打开小程序后点击登录按钮,网络请求没有响应,有遇到过这种问题的大神讲解一下吗?
电脑端第一次使用需要点击两次登录按钮,第一次一直在登录中,再点一次就可以,有的电脑点多少次都不行,一直在登录中,没有请求服务端。 //表单提交按钮 formSubmit: function (e) { var _this = this; console.log('form发生了submit事件,携带数据为:', e.detail.value) const params = e.detail.value _this.setData(params); //校验表单 if (!this.WxValidate.checkForm(params)) { const error = this.WxValidate.errorList[0] this.showModal(error) return false } wx.setStorage({ key: "Uname", data: this.data.Uname }) wx.setStorage({ key: "Pwd", data: this.data.Pwd }) if (this.data.jizumima.indexOf("jz")!=-1){ console.log('记住:',this.data.jizumima.indexOf("jz")) wx.setStorage({ key: "jzchecked", data: "true" }) }else{ console.log('没记住:', this.data.jizumima.indexOf("jz")) wx.setStorage({ key: "jzchecked", data: "false" }) } wx.showLoading({ title: "登录中...", mask: true }) var pwd = Des.encryptByDESModeCBC(this.data.Pwd) network.Login({ data: { Uname: this.data.Uname, Pwd: pwd }, success: function (items) { console.log('接口访问成功:', items) wx.hideLoading(); wx.showToast({ title: '登录成功', icon: 'succes', duration: 2000, mask: true }) let user = JSON.parse(items); console.log('用户信息', user) wx.setStorage({ key: "uid", data: user._userid }) wx.setStorage({ key: "_email", data: user._email }) wx.setStorage({ key: "_realname", data: user._realname }) wx.setStorage({ key: "_userphone", data: user._userphone }) wx.setStorage({ key: "_usersex", data: user._usersex }) wx.setStorage({ key: "_usertype", data: user._usertype }) wx.redirectTo({ url: "../home/home" }); }, error: function (items) { console.log('接口访问失败:', items) wx.hideLoading(); wx.showToast({ title: items, icon: "none", duration: 3000, // 2秒 }); }, complete: function (res) { // wx.hideLoading(); } }) },
2023-06-30