fix: 修复会话记录跳转链接颜色问题

This commit is contained in:
“huailei000”
2022-07-20 10:30:27 +08:00
committed by Jiangjie.Bai
parent ea047e01d1
commit 2f09c3f355

View File

@@ -49,7 +49,7 @@ export default {
formatter: function(row, column, cellValue, index) {
const label = index + 1
const route = { to: { name: 'SessionDetail', params: { id: row.id }}}
return <router-link {...{ attrs: route }}>{ label }</router-link>
return <router-link {...{ attrs: route }} class='link'>{ label }</router-link>
}
},
user: {
@@ -138,5 +138,7 @@ export default {
</script>
<style scoped>
.link {
color: var(--color-info);
}
</style>