|
@@ -8,7 +8,7 @@
|
|
|
<h6>对不起,您没有访问权限,请不要进行非法操作!您可以返回主页面</h6>
|
|
|
<ul class="list-unstyled">
|
|
|
<li class="link-type">
|
|
|
- <router-link to="/"> 回首页 </router-link>
|
|
|
+ <router-link :to="systemIndex"> 回首页 </router-link>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</el-col>
|
|
@@ -25,10 +25,13 @@ import errImage from '@/assets/401_images/401.gif';
|
|
|
let { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
|
|
|
const errGif = ref(errImage + '?' + +new Date());
|
|
|
-
|
|
|
+import useSettingsStore from "@/store/modules/settings";
|
|
|
+const settingsStore = useSettingsStore();
|
|
|
+const systemIndex = computed(() => settingsStore.systemIndex);
|
|
|
function back() {
|
|
|
if (proxy?.$route.query.noGoBack) {
|
|
|
- proxy.$router.push({ path: '/' });
|
|
|
+ //proxy.$router.push({ path: '/' });
|
|
|
+ proxy.$router.push({ path: systemIndex });
|
|
|
} else {
|
|
|
proxy?.$router.go(-1);
|
|
|
}
|