vue3-context-menu-plus 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: eggYolkegg
|
|
3
3
|
* @Date: 2025-12-11 15:41:57
|
|
4
4
|
* @LastEditors: eggYolkegg
|
|
5
|
-
* @LastEditTime: 2025-12-19 08:
|
|
5
|
+
* @LastEditTime: 2025-12-19 08:12:21
|
|
6
6
|
* @Description:
|
|
7
7
|
-->
|
|
8
8
|
|
|
@@ -96,7 +96,7 @@ const customMenus = ref([
|
|
|
96
96
|
{ id: 11, divider: true }, // 分隔线
|
|
97
97
|
{ id: 12, label: "刷新" },
|
|
98
98
|
]);
|
|
99
|
-
const handleClick = (item: any,
|
|
99
|
+
const handleClick = (item:any, event:any, context:any) => {
|
|
100
100
|
console.log('点击的菜单项:', item)
|
|
101
101
|
console.log('原生事件对象:', event)
|
|
102
102
|
console.log('上下文信息:', context)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "vue3-context-menu-plus",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.6",
|
|
5
5
|
"description": "A Vue 3 context menu component that shows different menus based on different components",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|