MiniProgramError
Unexpected identifier 'server'
SyntaxError: Unexpected identifier 'server'
at Object.invoke (http://30.189.230.163:21525/wxacrawler/public/vendor/WAServiceMainContext.b4744ec36feb3a833e03.js:1:123229)
at Ie (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:295971)
at http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:428102
at xs.batchInjectComponents (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:428474)
at xs.injectComponentsRecursively (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:429737)
at rs (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:420056)
at Module.cs (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.12c4244defc676cd16b9.js:1:422458)
同问+1
同问,我们也遇到类似的问题
MiniProgramError Unexpected identifier 'server' SyntaxError: Unexpected identifier 'server' at Object.invoke (http://30.189.230.163:21525/wxacrawler/public/vendor/WAServiceMainContext.502973f307f833ab6136.js:1:123257) at http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.358ca49c4adc9b8a38e1.js:1:351498 at http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.358ca49c4adc9b8a38e1.js:1:351461 at Kr (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.358ca49c4adc9b8a38e1.js:1:351465) at http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.358ca49c4adc9b8a38e1.js:1:430846 at Ss.batchInjectComponents (http://30.189.230.163:21525/wxacrawler/public/vendor/WASubContext.358ca49c4adc9b8a38e1.js:1:431218)
是因为开启了懒加载和按需注入的原因吗