mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 06:42:26 +00:00
fix: 修复批量命令列表可点击链接颜色
This commit is contained in:
parent
dd6e9a1512
commit
2e47f42366
@ -247,6 +247,15 @@ td .el-button.el-button--mini {
|
||||
border-top-color: #676a6c;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: info!important;
|
||||
}
|
||||
|
||||
.text-link:hover {
|
||||
color: info!important;
|
||||
filter: opacity(65%)!important;
|
||||
}
|
||||
|
||||
.text-danger {
|
||||
color: danger;
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ export default {
|
||||
vm.relationDialog.tableConfig.url = setUrlParam(vm.relationDialog.tableConfig.url, 'commandexecution', row.id)
|
||||
vm.relationDialog.show = true
|
||||
}
|
||||
return <el-link class='link' onClick={onClick}>{ cellValue.length }</el-link>
|
||||
return <el-link class='text-link' onClick={onClick}>{ cellValue.length }</el-link>
|
||||
}
|
||||
},
|
||||
command: {
|
||||
@ -67,7 +67,7 @@ export default {
|
||||
formatter: (row) => {
|
||||
const label = this.$t('audits.View')
|
||||
const route = { to: { name: 'CeleryTaskLog', params: { id: row.id }}}
|
||||
return <router-link class='link' {...{ attrs: route }} target='_blank'>{ label }</router-link>
|
||||
return <router-link class='text-link' {...{ attrs: route }} target='_blank'>{ label }</router-link>
|
||||
}
|
||||
},
|
||||
date_start: {
|
||||
@ -137,12 +137,5 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.link {
|
||||
color: var(--color-info);
|
||||
&:hover {
|
||||
color: var(--color-info);
|
||||
filter: opacity(65%);
|
||||
}
|
||||
}
|
||||
<style>
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user