|
@@ -7,7 +7,6 @@ import { FC, PropsWithChildren, ReactNode, useEffect, useState } from "react";
|
|
import styles from "./style.module.scss";
|
|
import styles from "./style.module.scss";
|
|
|
|
|
|
// import { getToken } from "@/utils/Cookies";
|
|
// import { getToken } from "@/utils/Cookies";
|
|
-import clearCache from "./actions";
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* @description 自定义头部返回组件
|
|
* @description 自定义头部返回组件
|
|
@@ -66,7 +65,7 @@ const HeaderBack: FC<PropsWithChildren<HeaderBackProps>> = ({
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const goPage = async (path = "") => {
|
|
const goPage = async (path = "") => {
|
|
if (path) {
|
|
if (path) {
|
|
- await clearCache();
|
|
|
|
|
|
+ // await clearCache();
|
|
router.replace("/");
|
|
router.replace("/");
|
|
return;
|
|
return;
|
|
}
|
|
}
|