|
|
@@ -67,7 +67,8 @@ export default function App() {
|
|
|
useEffect(() => {
|
|
|
// 打包环境 刷新页面从 首页 开始
|
|
|
if (!envFlag && myData.isLdong) {
|
|
|
- if (window.location.hash !== '#/') {
|
|
|
+ // #/knowlege?l=look 从后台管理直接打开知识图谱
|
|
|
+ if (window.location.hash !== '#/' && window.location.hash !== '#/knowlege?l=look') {
|
|
|
window.location.href = window.location.href.split('#')[0] + '#/'
|
|
|
}
|
|
|
}
|