You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var client = new AppGrpcServiceClient('https://localhost:7196', {
debug: true,
transport: NodeHttpTransport()
});
var request = new ProfileFilterRequest();
request.setDeviceid('ee4b308b002490ca35eb6dcb79e0391b');
client.getProfileFilter(request, (error, reply) => {
console.log(reply)
if (error) {
console.error(error);
}
});
run the codes above in uniapp,
23:45:29.598 [Vue warn]: Error in onLoad hook: "TypeError: Cannot read property 'protocol' of undefined"
23:45:29.668 TypeError: Cannot read property 'protocol' of undefined
I'm not sure how to help you here, there's nothing I can try to run to reproduce this, and there's no backtrace to tell us where the error is coming from. You can look at our tests for examples of how to use the packages.
Versions of relevant software used
What happened
Error in onLoad hook: "TypeError: Cannot read property 'protocol' of undefined"
22:49:28.197 TypeError: Cannot read property 'protocol' of undefined
What you expected to happen
I run the code well in chrome Browser, but not well in app(uniapp)
How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: