cloudMaster
cloudMaster
  • 发布:2022-12-15 10:20
  • 更新:2022-12-15 10:20
  • 阅读:232

uni-admin一直空白,提示getCurrentPages undefind

分类:HBuilderX

10:16:11.965 UncaughtReferenceError: getCurrentPages is not defined
at t (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:92322)
at Ht (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:92401)
at Wt (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:92542)
at http://localhost:8080/admin/static/js/chunk-vendors.js:33726:110839
at Object.<anonymous> (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:110942)
at Object.qf9q (http://localhost:8080/admin/static/js/chunk-vendors.js:33727:30)
at __webpack_require__ (http://localhost:8080/admin/static/js/index.js:854:30)
at fn (http://localhost:8080/admin/static/js/index.js:151:20)
at eval (webpack-internal:///5y18:180:41)
at Object.5y18 (http://localhost:8080/admin/static/js/index.js:1529:1)
10:16:11.983 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
10:16:11.987 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
10:16:11.998 无法连接uniCloud本地调试服务,请检查当前客户端是否与主机在同一局域网下。

  • 如需使用uniCloud本地调试服务,请将客户端与主机连接到同一局域网下并重新运行到客户端。
  • 如果在HBuilderX开启的状态下切换过网络环境,请重启HBuilderX后再试
  • 检查系统防火墙是否拦截了HBuilderX自带的nodejs
  • 部分浏览器开启节流模式之后访问本地地址受限,请检查是否启用了节流模式
    10:16:12.023 ReferenceError: uni is not defined
    at st (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:67981)
    at http://localhost:8080/admin/static/js/chunk-vendors.js:33726:108784
    at <anonymous>
    10:16:12.027 Uncaught (in promise)ReferenceError: uni is not defined
    at request (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:5604)
    at http://localhost:8080/admin/static/js/chunk-vendors.js:33726:4881
    at new Promise (<anonymous>)
    at Object.wrappedRequest (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:4852)
    at V.requestWrapped (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:7542)
    at V.requestAuth (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:7653)
    at V.getAccessToken (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:9235)
    at V.authorize (http://localhost:8080/admin/static/js/chunk-vendors.js:33726:9855)
    at Object.signIn
2022-12-15 10:20 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复