mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-12 12:26:48 +08:00
feat:修改跳转
This commit is contained in:
@@ -27,7 +27,7 @@ import { GET_USER_INFO } from "@/api/ThirdApi";
|
|||||||
import { getCookie } from "@/api/utils";
|
import { getCookie } from "@/api/utils";
|
||||||
|
|
||||||
import { USER_INFO } from "@/api/api";
|
import { USER_INFO } from "@/api/api";
|
||||||
console.log("版本2.1.7------------");
|
console.log("版本2.1.8------------");
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* @Author: lixg lixg@dongwu-inc.com
|
* @Author: lixg lixg@dongwu-inc.com
|
||||||
* @Date: 2023-01-16 17:26:39
|
* @Date: 2023-01-16 17:26:39
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
* @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
|
* @FilePath: /stu_h5/src/components/ReturnHead.vue
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
* @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) {
|
if (window.history.length <= 1) {
|
||||||
window.open(import.meta.env.VITE_BOE_STUDY, "_top");
|
window.open(import.meta.env.VITE_BOE_STUDY, "_top");
|
||||||
} else {
|
} else {
|
||||||
router.back();
|
router.back(-1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const publishClick = () => {
|
const publishClick = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user