src/index.js
@@ -69,9 +69,9 @@ sessionStorage.setItem('role_id', sessionStorage.getItem('localRole_id') || '') sessionStorage.setItem('dataM', sessionStorage.getItem('localDataM') || '') // 新系统文件置于admin中 ../options.json // 新系统文件置于admin中 ../options.json , { cache: 'no-cache'} fetch('./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>'