mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-10 02:57:47 +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;
|
border-top-color: #676a6c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-link {
|
||||||
|
color: info!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-link:hover {
|
||||||
|
color: info!important;
|
||||||
|
filter: opacity(65%)!important;
|
||||||
|
}
|
||||||
|
|
||||||
.text-danger {
|
.text-danger {
|
||||||
color: danger;
|
color: danger;
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ export default {
|
|||||||
vm.relationDialog.tableConfig.url = setUrlParam(vm.relationDialog.tableConfig.url, 'commandexecution', row.id)
|
vm.relationDialog.tableConfig.url = setUrlParam(vm.relationDialog.tableConfig.url, 'commandexecution', row.id)
|
||||||
vm.relationDialog.show = true
|
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: {
|
command: {
|
||||||
@ -67,7 +67,7 @@ export default {
|
|||||||
formatter: (row) => {
|
formatter: (row) => {
|
||||||
const label = this.$t('audits.View')
|
const label = this.$t('audits.View')
|
||||||
const route = { to: { name: 'CeleryTaskLog', params: { id: row.id }}}
|
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: {
|
date_start: {
|
||||||
@ -137,12 +137,5 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style>
|
||||||
.link {
|
|
||||||
color: var(--color-info);
|
|
||||||
&:hover {
|
|
||||||
color: var(--color-info);
|
|
||||||
filter: opacity(65%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user