如果在模拟器调试的时候浏览器的控制台报下面的错
(index):222 Uncaught (in promise) TypeError: window.deltaUrlToBlobUrl is not a function
at getBlobUrl ((index):222)
at [WebSocket.ws.onmessage](WebSocket.ws.onmessage) ((index):185)
这是因为我们之前打开过模拟器debugger-ui
将debugger-ui关闭,再reload模拟器就可以了,亲测有效
或者再Stop Remote JS Debugging
重新开启Remote JS Debugging
android模拟器关闭远程调试方法
在键盘按ctrl+m
(非mac本)或者command+m
(mac电脑)键,然后点击Stop Remote JS Debugging
ios模拟器关闭远程调试方法
在键盘按command+d
键,然后点击Stop Remote JS Debugging