diff --git a/src/App.vue b/src/App.vue index bf29a09..689798e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi"; import { getCookie } from "@/api/utils"; import { USER_INFO } from "@/api/api"; -console.log("版本2.1.7------------"); +console.log("版本2.1.8------------"); const store = useStore(); const router = useRouter(); diff --git a/src/components/ReturnHead.vue b/src/components/ReturnHead.vue index aad3f43..4c0138e 100644 --- a/src/components/ReturnHead.vue +++ b/src/components/ReturnHead.vue @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2023-01-16 17:26:39 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-03-07 15:57:43 + * @LastEditTime: 2023-03-08 17:27:40 * @FilePath: /stu_h5/src/components/ReturnHead.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> @@ -96,7 +96,7 @@ export default { if (window.history.length <= 1) { window.open(import.meta.env.VITE_BOE_STUDY, "_top"); } else { - router.back(); + router.back(-1); } }; const publishClick = () => {