This commit is contained in:
范君
2021-02-01 15:43:11 +08:00
11 changed files with 23 additions and 21 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const components = [
lemonMessageFile,
lemonMessageEvent
];
const install = (Vue, opts = {}) => {
const install = (Vue) => {
Vue.directive("LemonContextmenu", Contextmenu);
components.forEach(component => {
Vue.component(component.name, component);