diff --git a/easyflow-ui-usercenter/packages/effects/common-ui/src/ui/profile/profile.vue b/easyflow-ui-usercenter/packages/effects/common-ui/src/ui/profile/profile.vue index b1abb82..038f0a6 100644 --- a/easyflow-ui-usercenter/packages/effects/common-ui/src/ui/profile/profile.vue +++ b/easyflow-ui-usercenter/packages/effects/common-ui/src/ui/profile/profile.vue @@ -34,10 +34,10 @@ const tabsValue = defineModel('modelValue'); class="size-20" /> - {{ userInfo?.realName ?? '' }} + {{ userInfo?.nickname ?? '' }} - {{ userInfo?.username ?? '' }} + {{ userInfo?.loginName ?? '' }} diff --git a/easyflow-ui-usercenter/packages/effects/plugins/src/echarts/use-echarts.ts b/easyflow-ui-usercenter/packages/effects/plugins/src/echarts/use-echarts.ts index 2e52ab7..f5483e4 100644 --- a/easyflow-ui-usercenter/packages/effects/plugins/src/echarts/use-echarts.ts +++ b/easyflow-ui-usercenter/packages/effects/plugins/src/echarts/use-echarts.ts @@ -22,8 +22,6 @@ import echarts from './echarts'; type EchartsUIType = typeof EchartsUI | undefined; -type EchartsThemeType = 'dark' | 'light' | null; - function useEcharts(chartRef: Ref) { let chartInstance: echarts.ECharts | null = null; let cacheOptions: EChartsOption = {}; @@ -57,7 +55,7 @@ function useEcharts(chartRef: Ref) { }; }); - const initCharts = (t?: EchartsThemeType) => { + const initCharts = () => { const el = chartRef?.value?.$el; if (!el) { return;