style: 无用注释删除

This commit is contained in:
LyMysterious
2025-04-11 18:21:39 +08:00
parent a40d922f07
commit c1ebdf63a1
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
import { ref } from 'vue'
import { useRouter } from 'vue-router'
import { ElMessage } from 'element-plus'
import { fishingClick } from '@/api/fishing/fishing' // 你的钓鱼 API
import { fishingClick } from '@/api/fishing/fishing'
const router = useRouter()
const resultMessage = ref('')
+10 -1
View File
@@ -1,3 +1,12 @@
<!--
* @Descripttion:
* @version: 1.0.0
* @Author: LyMy
* @Date: 2025-04-11 16:51:41
* @LastEditors: LyMy
* @LastEditTime: 2025-04-11 18:21:25
* @FilePath: \go_fish_web\src\pages\main\Home.vue
-->
<template>
<div class="home-page">
<h1>欢迎来到钓鱼游戏</h1>
@@ -23,7 +32,7 @@ const router = useRouter()
// 跳转函数
const navigateTo = (page) => {
router.push({ name: page }) // 根据页面名称跳转
router.push({ name: page })
}
</script>