mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
type: 修改编译错误的type类型
This commit is contained in:
@@ -113,7 +113,7 @@ const clearHideOption = (options: MenuOptionsItemType[], hideList?: MenuEnum[])
|
||||
}
|
||||
|
||||
// * 右键处理
|
||||
const handleContextMenu = (e: MouseEvent, item: CreateComponentType) => {
|
||||
const handleContextMenu = (e: MouseEvent, item?: CreateComponentType) => {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
let target = e.target
|
||||
|
||||
Reference in New Issue
Block a user