mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-14 13:26:47 +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("版本1.2.8------------");
|
console.log("版本1.2.10------------");
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ watch(data, () => {
|
|||||||
// "import.meta.env.VITE_BOE_BASE_URL",
|
// "import.meta.env.VITE_BOE_BASE_URL",
|
||||||
// import.meta.env.VITE_BOE_BASE_URL
|
// import.meta.env.VITE_BOE_BASE_URL
|
||||||
// );
|
// );
|
||||||
if (data.value && data.value.list) {
|
if (data && data.value && data.value.list) {
|
||||||
data.value.list.reverse();
|
data.value.list.reverse();
|
||||||
current.value = data.value.list.findIndex(
|
current.value = data.value.list.findIndex(
|
||||||
(e) => e.id === data.value.currentChapterId
|
(e) => e.id === data.value.currentChapterId
|
||||||
|
|||||||
@@ -182,8 +182,8 @@ watch(
|
|||||||
{ deep: true }
|
{ deep: true }
|
||||||
);
|
);
|
||||||
watch(data, () => {
|
watch(data, () => {
|
||||||
console.log("data.value.projectId", data.value.projectId);
|
console.log("data.value.projectId", data.value);
|
||||||
if (!data.value.projectId) {
|
if (data && data.value && !data.value.projectId) {
|
||||||
ElMessage.warning("您不是此项目的学员");
|
ElMessage.warning("您不是此项目的学员");
|
||||||
window.open(
|
window.open(
|
||||||
import.meta.env.VITE_BOE_BASE_URL + "/mobile/pages/index/index",
|
import.meta.env.VITE_BOE_BASE_URL + "/mobile/pages/index/index",
|
||||||
|
|||||||
Reference in New Issue
Block a user