mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 11:24:17 +00:00
Fixed: PR-BT
This commit is contained in:
@@ -76,7 +76,7 @@ export default {
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
width: '120px',
|
||||
width: '130px',
|
||||
formatterArgs: {
|
||||
hasUpdate: false,
|
||||
hasDelete: false,
|
||||
|
||||
@@ -136,7 +136,7 @@ export default {
|
||||
actions: {
|
||||
prop: 'actions',
|
||||
label: this.$t('Actions'),
|
||||
width: '130px',
|
||||
width: this.dynamicActionWidth,
|
||||
formatter: ActionsFormatter,
|
||||
formatterArgs: {
|
||||
hasEdit: false,
|
||||
@@ -159,6 +159,14 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
dynamicActionWidth() {
|
||||
if (this.$i18n.locale === 'pt-br') {
|
||||
return '160px'
|
||||
}
|
||||
return '130px'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user