fix(工作台): 修复工作台柱状图x轴label展示bug
This commit is contained in:
parent
18c7e5ff86
commit
2a2f57bb52
|
@ -57,7 +57,7 @@
|
|||
import { contentTabList } from '@/config/workbench';
|
||||
import { useI18n } from '@/hooks/useI18n';
|
||||
import useAppStore from '@/store/modules/app';
|
||||
import { characterLimit } from '@/utils';
|
||||
import { characterLimit, sleep } from '@/utils';
|
||||
|
||||
import type { OverViewOfProject, SelectedCardItem, TimeFormParams } from '@/models/workbench/homePage';
|
||||
|
||||
|
@ -241,6 +241,7 @@
|
|||
watch([() => props.refreshKey, () => projectId.value], async () => {
|
||||
await nextTick();
|
||||
initOverViewMemberDetail();
|
||||
await sleep(50);
|
||||
if (props.item.projectIds.length) {
|
||||
getMemberOptions();
|
||||
}
|
||||
|
|
|
@ -132,6 +132,7 @@ export function getCommonBarOptions(hasRoom: boolean, color: string[]): Record<s
|
|||
type: 'category',
|
||||
data: [],
|
||||
axisLabel: {
|
||||
show: true,
|
||||
color: '#646466',
|
||||
},
|
||||
axisTick: {
|
||||
|
|
Loading…
Reference in New Issue