fix(App.vue): 将论坛反馈按钮的点击事件从箭头函数修改为链接,确保在新窗口中打开链接的行为一致性

This commit is contained in:
wood chen 2025-07-17 22:14:51 +08:00
parent 81a5eb61e9
commit 0b99e1b3fe

View File

@ -10,7 +10,9 @@
<el-button @click="$router.push('/prices')" :type="$route.path === '/prices' ? 'primary' : ''">价格列表</el-button> <el-button @click="$router.push('/prices')" :type="$route.path === '/prices' ? 'primary' : ''">价格列表</el-button>
<el-button @click="$router.push('/providers')" :type="$route.path === '/providers' ? 'primary' : ''">模型厂商</el-button> <el-button @click="$router.push('/providers')" :type="$route.path === '/providers' ? 'primary' : ''">模型厂商</el-button>
<el-button @click="$router.push('/model-types')" :type="$route.path === '/model-types' ? 'primary' : ''">模型类别</el-button> <el-button @click="$router.push('/model-types')" :type="$route.path === '/model-types' ? 'primary' : ''">模型类别</el-button>
<el-button @click="() => window.open('https://www.sunai.net/t/topic/937', '_blank')">论坛反馈</el-button> <a href="https://www.sunai.net/t/topic/937" target="_blank" rel="noopener noreferrer">
<el-button>论坛反馈</el-button>
</a>
</div> </div>
</div> </div>
<div class="auth-buttons"> <div class="auth-buttons">