update src/views/system/menu/index.vue.

Signed-off-by: 飒沓如流星 <13523376917@163.com>
pull/797/head
飒沓如流星 2025-07-25 03:32:18 +00:00 committed by Gitee
parent 2a06f6744d
commit 52769ee875
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -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<typeof ElButton>[] = []
//
if (checkPermi(['system:menu:update'])) {