uni-admin
uni-admin copied to clipboard
统计图表不显示
控制台报
Uncaught (in promise) ReferenceError: process is not defined at Proxy.ecinit (qiun-data-charts.eb4273b3.js:formatted:6805:29) at index.af3628b5.js:1:66646
图表文件位置
uniapp-admin/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue
1312行
process.env.BASE_URL 没有被编译
const { origin } = window.location const rooturl = origin + process.env.BASE_URL
我把基础路径改成这样就可以了
const { origin, pathname } = window.location const rooturl = origin + pathname
这个问题应该已经修复了,你可以尝试下最新版