- [minium]get_perf_time()函数的使用问题?
entry_types有一个类型为loadPackage的类型,这个是用来记录小程序包加载的时间吗?那有没有提供从微信直接打开小程序的方法?就像render和navigation一样,有提供页面跳转的方法,才能在页面跳转的时候记录firstrender和navigation的时间 [图片]
2021-02-08 - npm组件构建报错?
[图片] [图片] 发生错误 SyntaxError: Octal literal in strict mode (3:13)SyntaxError: Octal literal in strict mode (3:13) at Parser.pp$4.raise (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:2844:13) at Parser.pp$8.invalidStringToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4766:10) at Parser.pp$8.readEscapedChar (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4872:14) at Parser.pp$8.readString (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4732:21) at Parser.pp$8.getTokenFromCode (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4560:17) at Parser.pp$8.readToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4314:15) at Parser.pp$8.nextToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4305:15) at Parser.pp$8.next (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4262:8) at Parser.pp.eat (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:620:10) at Parser.pp$1.parseVar (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:1222:16) 报错如上,小白一枚求助貌似没见过直接抛错的
2019-10-11