We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@snokier 看到 Contextmenu mounted 的代码的时候 有一点不明白 这里 this.$contextmenuId 应该都是undefined的吧 我看contextmenuId 都是在 指令 inserted的时候才赋值的 。
mounted () { const elm = document.querySelector(this.containerSelector) elm.appendChild(this.$el) if (window.$$VContextmenu) { window.$$VContextmenu[this.$contextmenuId] = this } else { window.$$VContextmenu = { [this.$contextmenuId]: this } } },
The text was updated successfully, but these errors were encountered:
你说的很对,想必这是个 bug 了
bug
https://github.com/snokier/v-contextmenu/blob/master/src/components/Contextmenu.vue#L78 https://github.com/snokier/v-contextmenu/blob/master/src/directive.js#L4
Sorry, something went wrong.
^_^ 希望作者可以尽快修复 我好可以基于您这个组件写一个自己的小东西
No branches or pull requests
@snokier 看到 Contextmenu mounted 的代码的时候 有一点不明白 这里 this.$contextmenuId 应该都是undefined的吧 我看contextmenuId 都是在 指令 inserted的时候才赋值的 。
The text was updated successfully, but these errors were encountered: