Skip to content

Commit 7aa9107

Browse files
YunaiVgitee-org
authored andcommitted
!797 update src/components/AppLinkInput/AppLinkSelectDialog.vue.
Merge pull request !797 from 飒沓如流星/master
2 parents 5d64d24 + c05d584 commit 7aa9107

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/components/AppLinkInput/AppLinkSelectDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const groupBtnRefs = ref<ButtonInstance[]>([])
174174
const scrollToGroupBtn = (group: string) => {
175175
const groupBtn = groupBtnRefs.value
176176
.map((btn: ButtonInstance) => btn['ref'])
177-
.find((ref: Node) => ref.textContent === group)
177+
.find((ref: HTMLButtonElement) => ref.textContent === group)
178178
if (groupBtn) {
179179
groupScrollbar.value?.setScrollTop(groupBtn.offsetTop)
180180
}

src/components/Echart/src/Echart.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ watch(
7272
(options) => {
7373
if (echartRef) {
7474
echartRef?.setOption(options)
75+
echartRef?.resize()
7576
}
7677
},
7778
{

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)