新增上一页功能,BGM自动引入

This commit is contained in:
Andy Leong
2024-01-11 16:10:51 +08:00
parent bbef428f80
commit de023d9c2e
4 changed files with 46 additions and 11 deletions

View File

@@ -11,6 +11,8 @@ import gsap from 'gsap'
import Loading from "@/components/Loading";
import Index from "@/components/Index";
import Question from "@/components/Question";
import { bgm } from '@/plugins'
const showLoad = ref(false);
const loadFn = (item) => {
@@ -36,7 +38,7 @@ const questionFn = (item) => {
onMounted(() => {
bgm()
});
</script>

View File

@@ -6,7 +6,6 @@ import { isMobile } from '@/plugins';
import { wxShare } from '@/plugins/wxshare';
import VConsole from 'vconsole';
const app = createApp(App)
// 定义引入图片地址的全局方法