src/index.js
@@ -59,7 +59,7 @@ // 测试系统文件置于admin中 fetch(process.env.NODE_ENV === 'production' && options.sysType === 'local' ? '../options.json' : './options.json') fetch('/options.json') .then(response => response.json()) .catch(() => { document.getElementById('root').innerHTML = '<div style="text-align: center; font-size: 30px; margin-top: 40vh;">系统配置信息获取失败,请联系管理员!</div>'