chore: update deps

This commit is contained in:
kailong321200875
2022-06-05 20:39:16 +08:00
parent 1c339a6039
commit a4526d7cb4
9 changed files with 182 additions and 182 deletions

View File

@@ -1,4 +1,4 @@
import type { App, Plugin } from 'vue'
// import type { Plugin } from 'vue'
/**
*
@@ -8,7 +8,7 @@ import type { App, Plugin } from 'vue'
*/
export const withInstall = <T>(component: T, alias?: string) => {
const comp = component as any
comp.install = (app: App) => {
comp.install = (app: any) => {
app.component(comp.name || comp.displayName, component)
if (alias) {
app.config.globalProperties[alias] = component