This commit is contained in:
2019-04-19 20:17:05 +00:00
parent 94a1955d86
commit b9440822b4
4 changed files with 27 additions and 12 deletions

View File

@@ -131,7 +131,7 @@
<script>
/* xeslint-disable */
function clickHandler(item) {
if (!item.disabled && !item.key.startsWith("app:")) {
if (this.$gzmenu.isRelevantClick(item)) {
alert("inventory-widget-edit.vue::context click: " + item.key);
}
}
@@ -201,6 +201,7 @@ export default {
}
]
});
this.$gzevent.$on("menu-click", clickHandler);
this.getDataFromApi();
},