File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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