diff --git a/src/components/AppLinkInput/AppLinkSelectDialog.vue b/src/components/AppLinkInput/AppLinkSelectDialog.vue index 63f19662e3788d6c6e9846ba15e01cd9e5651a8b..cdd0b66e9984f73aa83cfbc1562dec5bf398cafb 100644 --- a/src/components/AppLinkInput/AppLinkSelectDialog.vue +++ b/src/components/AppLinkInput/AppLinkSelectDialog.vue @@ -170,7 +170,7 @@ const groupBtnRefs = ref([]) const scrollToGroupBtn = (group: string) => { const groupBtn = groupBtnRefs.value .map((btn: ButtonInstance) => btn['ref']) - .find((ref: Node) => ref.textContent === group) + .find((ref: HTMLButtonElement) => ref.textContent === group) if (groupBtn) { groupScrollbar.value?.setScrollTop(groupBtn.offsetTop) } diff --git a/src/components/Echart/src/Echart.vue b/src/components/Echart/src/Echart.vue index bf22b864ec5843bbc1ea8ce754b5ea323e44588a..487f20a8d39b9bc01ad5aebfde3c77e8e34d10de 100644 --- a/src/components/Echart/src/Echart.vue +++ b/src/components/Echart/src/Echart.vue @@ -72,6 +72,7 @@ watch( (options) => { if (echartRef) { echartRef?.setOption(options) + echartRef?.resize() } }, { diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index a72da7ed71138da7ba82ab466277501fa1b4d5e2..af3e0ad6a2762ea1d68c904727510dda6e069ef4 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -94,7 +94,7 @@ import { MenuVO } from '@/api/system/menu' import MenuForm from './MenuForm.vue' import DictTag from '@/components/DictTag/src/DictTag.vue' import { Icon } from '@/components/Icon' -import { ElButton, TableV2FixedDir } from 'element-plus' +import { ElButton, TableV2FixedDir, ElSwitch } from 'element-plus' import { checkPermi } from '@/utils/permission' import { CommonStatusEnum } from '@/utils/constants' import { CACHE_KEY, useCache } from '@/hooks/web/useCache' @@ -175,7 +175,7 @@ const columns = [ fixed: TableV2FixedDir.RIGHT, cellRenderer: ({ rowData }) => { // 定义按钮列表 - const buttons = [] + const buttons: InstanceType[] = [] // 检查权限并添加按钮 if (checkPermi(['system:menu:update'])) {