!797 update src/components/AppLinkInput/AppLinkSelectDialog.vue.

Merge pull request !797 from 飒沓如流星/master
pull/801/head^2
芋道源码 2025-07-25 12:29:57 +00:00 committed by Gitee
commit 7aa9107cb4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 4 additions and 3 deletions

View File

@ -174,7 +174,7 @@ const groupBtnRefs = ref<ButtonInstance[]>([])
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)
}

View File

@ -72,6 +72,7 @@ watch(
(options) => {
if (echartRef) {
echartRef?.setOption(options)
echartRef?.resize()
}
},
{

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'])) {