真机无法调试
- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo [publib]:146 error run publib TypeError: Cannot read property 'toLowerCase' of undefined at a.g ([publib]:1) at new a ([publib]:1) at [publib]:1 at Object.u [as onReady] ([publib]:1) at Object.<anonymous> ([publib]:1) at o ([publib]:1) at i ([publib]:1) at __waServiceInit__ ([publib]:1) at __doWAServiceInit__ ([publib]:1) at [publib]:1 value @ [publib]:146 [publib]:833 ReferenceError: define is not defined at app.js:1 at ContextifyScript.Script.runInContext (vm.js:59) at Object.runInContext (vm.js:120) at loadCode ([publib]:827) at handleInitUserCode ([publib]:811) at handleSetupContext ([publib]:1221) at handleProcessMessage ([publib]:1230) at WebSocket.ws.on ([publib]:1458) at emitOne (events.js:115) at WebSocket.emit (events.js:210) loadCode @ [publib]:833 [publib]:833 ReferenceError: define is not defined at canvasdrawer.js:1 at ContextifyScript.Script.runInContext (vm.js:59) at Object.runInContext (vm.js:120) at loadCode ([publib]:827) at handleInitUserCode ([publib]:811) at handleSetupContext ([publib]:1221) at handleProcessMessage ([publib]:1230) at WebSocket.ws.on ([publib]:1458) at emitOne (events.js:115) at WebSocket.emit (events.js:210) loadCode @ [publib]:833 [publib]:833 ReferenceError: define is not defined at scan.js:1 at ContextifyScript.Script.runInContext (vm.js:59) at Object.runInContext (vm.js:120) at loadCode ([publib]:827) at handleInitUserCode ([publib]:811) at handleSetupContext ([publib]:1221) at handleProcessMessage ([publib]:1230) at WebSocket.ws.on ([publib]:1458) at emitOne (events.js:115) at WebSocket.emit (events.js:210) loadCode @ [publib]:833 [publib]:833 ReferenceError: define is not defined at index.js:1 at ContextifyScript.Script.runInContext (vm.js:59) at Object.runInContext (vm.js:120) at loadCode ([publib]:827) at handleInitUserCode ([publib]:811) at handleSetupContext ([publib]:1221) at handleProcessMessage ([publib]:1230) at WebSocket.ws.on ([publib]:1458) at emitOne (events.js:115) at WebSocket.emit (events.js:210) loadCode @ [publib]:833