Fixed: PR-BT

This commit is contained in:
zhaojisen
2025-02-18 15:22:33 +08:00
committed by ZhaoJiSen
parent 5166287b0e
commit 19469508f7
2 changed files with 10 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ export default {
}
},
actions: {
width: '120px',
width: '130px',
formatterArgs: {
hasUpdate: false,
hasDelete: false,

View File

@@ -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>