File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ const groupBtnRefs = ref<ButtonInstance[]>([])
174
174
const scrollToGroupBtn = (group : string ) => {
175
175
const groupBtn = groupBtnRefs .value
176
176
.map ((btn : ButtonInstance ) => btn [' ref' ])
177
- .find ((ref : Node ) => ref .textContent === group )
177
+ .find ((ref : HTMLButtonElement ) => ref .textContent === group )
178
178
if (groupBtn ) {
179
179
groupScrollbar .value ?.setScrollTop (groupBtn .offsetTop )
180
180
}
Original file line number Diff line number Diff line change 72
72
(options ) => {
73
73
if (echartRef ) {
74
74
echartRef ?.setOption (options )
75
+ echartRef ?.resize ()
75
76
}
76
77
},
77
78
{
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ import { MenuVO } from '@/api/system/menu'
94
94
import MenuForm from ' ./MenuForm.vue'
95
95
import DictTag from ' @/components/DictTag/src/DictTag.vue'
96
96
import { Icon } from ' @/components/Icon'
97
- import { ElButton , TableV2FixedDir } from ' element-plus'
97
+ import { ElButton , TableV2FixedDir , ElSwitch } from ' element-plus'
98
98
import { checkPermi } from ' @/utils/permission'
99
99
import { CommonStatusEnum } from ' @/utils/constants'
100
100
import { CACHE_KEY , useCache } from ' @/hooks/web/useCache'
@@ -175,7 +175,7 @@ const columns = [
175
175
fixed: TableV2FixedDir .RIGHT ,
176
176
cellRenderer : ({ rowData }) => {
177
177
// 定义按钮列表
178
- const buttons = []
178
+ const buttons: InstanceType < typeof ElButton >[] = []
179
179
180
180
// 检查权限并添加按钮
181
181
if (checkPermi ([' system:menu:update' ])) {
You can’t perform that action at this time.
0 commit comments