Skip to content

Commit 0b99e1b

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/App.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
<el-button @click="$router.push('/prices')" :type="$route.path === '/prices' ? 'primary' : ''">价格列表</el-button>
1111
<el-button @click="$router.push('/providers')" :type="$route.path === '/providers' ? 'primary' : ''">模型厂商</el-button>
1212
<el-button @click="$router.push('/model-types')" :type="$route.path === '/model-types' ? 'primary' : ''">模型类别</el-button>
13-
<el-button @click="() => window.open('https://www.sunai.net/t/topic/937', '_blank')">论坛反馈</el-button>
13+
<a href="https://www.sunai.net/t/topic/937" target="_blank" rel="noopener noreferrer">
14+
<el-button>论坛反馈</el-button>
15+
</a>
1416
</div>
1517
</div>
1618
<div class="auth-buttons">

0 commit comments

Comments
 (0)