Skip to content

Commit 52769ee

Browse files
飒沓如流星gitee-org
authored andcommitted
update src/views/system/menu/index.vue.
Signed-off-by: 飒沓如流星 <[email protected]>
1 parent 2a06f67 commit 52769ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/system/menu/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import { MenuVO } from '@/api/system/menu'
9494
import MenuForm from './MenuForm.vue'
9595
import DictTag from '@/components/DictTag/src/DictTag.vue'
9696
import { Icon } from '@/components/Icon'
97-
import { ElButton, TableV2FixedDir } from 'element-plus'
97+
import { ElButton, TableV2FixedDir, ElSwitch } from 'element-plus'
9898
import { checkPermi } from '@/utils/permission'
9999
import { CommonStatusEnum } from '@/utils/constants'
100100
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
@@ -175,7 +175,7 @@ const columns = [
175175
fixed: TableV2FixedDir.RIGHT,
176176
cellRenderer: ({ rowData }) => {
177177
// 定义按钮列表
178-
const buttons = []
178+
const buttons: InstanceType<typeof ElButton>[] = []
179179
180180
// 检查权限并添加按钮
181181
if (checkPermi(['system:menu:update'])) {

0 commit comments

Comments
 (0)