diff --git a/index.html b/index.html index c22fdc3..88dde02 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - aigc + 海兔AIGC
diff --git a/src/components/auth/Login.vue b/src/components/auth/Login.vue index 8c8f256..af7608f 100644 --- a/src/components/auth/Login.vue +++ b/src/components/auth/Login.vue @@ -158,7 +158,7 @@ const reRenderEmailGetcodebtn = () => { } const validate = () => { - if (loginType == 'tel') { + if (loginType.value == 'tel') { if (!telReg.test(tel.value)) { showToast('请输入正确的手机号码!'); return false; @@ -168,7 +168,7 @@ const validate = () => { return false; } } - if (loginType == 'email') { + if (loginType.value == 'email') { if (!emailReg.test(email.value)) { showToast('请输入正确的邮箱地址!'); return false; diff --git a/src/router/index.js b/src/router/index.js index 9294b63..d374e31 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -187,7 +187,7 @@ const router = createRouter({ meta: { title: "AI培训", }, - component: () => import("@/views/training/index.vue"), + component: () => import("@/views/training/home.vue"), }, { path: "vip", diff --git a/src/views/business/home.vue b/src/views/business/home.vue index b0ba3d2..44b45a9 100644 --- a/src/views/business/home.vue +++ b/src/views/business/home.vue @@ -1,5 +1,5 @@ - diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 9c656a4..2351edd 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -58,7 +58,7 @@ import Assistant from '@/views/assistant/index.vue' import Business from '@/views/business/index.vue' import Stream from '@/views/communication/index.vue' -import Course from '@/views/course/index.vue' +import Training from '@/views/training/index.vue' import { Swiper, SwiperSlide } from 'swiper/vue' import { Mousewheel, Pagination } from 'swiper/modules' @@ -83,7 +83,7 @@ const list = [ }, { title: 'AI培训', - component: Course, + component: Training, }, ] diff --git a/src/views/training/home.vue b/src/views/training/home.vue new file mode 100644 index 0000000..fe43613 --- /dev/null +++ b/src/views/training/home.vue @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/src/views/training/index.vue b/src/views/training/index.vue index fe43613..1575dad 100644 --- a/src/views/training/index.vue +++ b/src/views/training/index.vue @@ -1,23 +1,23 @@ - - - \ No newline at end of file