fix: 修改全局配置展示

This commit is contained in:
MTrun
2022-02-08 19:39:57 +08:00
parent b258b0f651
commit 62f8e389a8
15 changed files with 108 additions and 44 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ const handleContextMenu = (e: MouseEvent, item: CreateComponentType) => {
* @param menuConfig
* @returns
*/
export const useContextMenu = (menuConfig: {
export const useContextMenu = (menuConfig?: {
// 自定义右键配置
selfOptions?: MenuOptionsItemType[]
// 前置处理函数