HBuilderX 编译错误"Unexpected token (350:0)"
根因:Vue 2 Options API 要求所有方法在 methods: { ... } 块内
之前把这两个方法放在 export default 顶层,违反规范
修复:把 _resolveAppScene 和 _initWebView 移到 methods 块开头
Node.js --check 验证:语法通过
HBuilderX 编译错误"Unexpected token (350:0)"
根因:Vue 2 Options API 要求所有方法在 methods: { ... } 块内
之前把这两个方法放在 export default 顶层,违反规范
修复:把 _resolveAppScene 和 _initWebView 移到 methods 块开头
Node.js --check 验证:语法通过