Fixed: Fix the issue of direct connection organizations not synchronizing.

This commit is contained in:
zhaojisen
2025-07-15 20:22:29 +08:00
committed by ZhaoJiSen
parent 958de2badf
commit 80e42d12f3
2 changed files with 12 additions and 11 deletions

View File

@@ -20,18 +20,18 @@ export class TableColumnsGenerator {
this.vm = vm
}
dynamicActionWidth() {
console.log(i18n.locale)
if (i18n.locale === 'zh-hans' || i18n.locale === 'zh-hant') {
return '100px'
}
// dynamicActionWidth() {
// console.log(i18n.locale)
// if (i18n.locale === 'zh-hans' || i18n.locale === 'zh-hant') {
// return '100px'
// }
if (i18n.locale === 'ja' || i18n.locale === 'ko') {
return '120px'
}
// if (i18n.locale === 'ja' || i18n.locale === 'ko') {
// return '120px'
// }
return '160px'
}
// return '160px'
// }
generateColumns() {
const config = _.cloneDeep(this.config)
@@ -135,7 +135,7 @@ export class TableColumnsGenerator {
prop: 'actions',
label: i18n.t('Actions'),
align: 'center',
width: this.dynamicActionWidth(),
width: '120px',
formatter: ActionsFormatter,
fixed: 'right',
formatterArgs: {}

View File

@@ -60,6 +60,7 @@ export default {
asset=${assetId}
&account=${row.id}
&protocol=${protocol}
&org_id=${this.$store.getters.currentOrg.id}
`.replace(/\s+/g, '')
},
asset: null,