提交 78f47d02 authored 作者: matian's avatar matian

updates

上级 988b253e
...@@ -5,10 +5,6 @@ import ProjectSystem from '../components/ProjectSystem.vue' ...@@ -5,10 +5,6 @@ import ProjectSystem from '../components/ProjectSystem.vue'
import Course from '../components/Course.vue' import Course from '../components/Course.vue'
import ExamProcess from '../components/ExamProcess.vue' import ExamProcess from '../components/ExamProcess.vue'
import Teacher from '../components/Teacher.vue' import Teacher from '../components/Teacher.vue'
import useWXShare from '@/utils/wx'
onMounted(() => {
useWXShare()
})
</script> </script>
<template> <template>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import CourseList from '../components/CourseList.vue' import CourseList from '../components/CourseList.vue'
import { useShopStore } from '@/stores/shop' import { useShopStore } from '@/stores/shop'
import { useDevice } from '@/composables/useDevice' import { useDevice } from '@/composables/useDevice'
import useWXShare from '@/utils/wx'
const { mobile } = useDevice() const { mobile } = useDevice()
const shopStore = useShopStore() const shopStore = useShopStore()
...@@ -12,9 +11,6 @@ const handleTabClick = (tab: any) => { ...@@ -12,9 +11,6 @@ const handleTabClick = (tab: any) => {
window.location.reload() window.location.reload()
} }
} }
onMounted(() => {
useWXShare()
})
</script> </script>
<template> <template>
......
...@@ -10,7 +10,6 @@ import RecommendCourse from '../components/RecommendCourse.vue' ...@@ -10,7 +10,6 @@ import RecommendCourse from '../components/RecommendCourse.vue'
import CourseFooter from '../components/CourseFooter.vue' import CourseFooter from '../components/CourseFooter.vue'
import { useShopStore } from '@/stores/shop' import { useShopStore } from '@/stores/shop'
import { useDevice } from '@/composables/useDevice' import { useDevice } from '@/composables/useDevice'
import useWXShare from '@/utils/wx'
const { mobile } = useDevice() const { mobile } = useDevice()
const shopStore = useShopStore() const shopStore = useShopStore()
const route = useRoute() const route = useRoute()
...@@ -28,9 +27,6 @@ const recommendCourse = computed(() => { ...@@ -28,9 +27,6 @@ const recommendCourse = computed(() => {
return shopStore.shopRelatedListOther return shopStore.shopRelatedListOther
} }
}) })
onMounted(() => {
useWXShare()
})
</script> </script>
<template> <template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论