wip(Login): Login developing

This commit is contained in:
kailong321200875
2022-01-03 18:01:43 +08:00
parent 3810b8c3b2
commit 4d52f7bf58
21 changed files with 1798 additions and 52 deletions

View File

@@ -4,12 +4,14 @@ import type { App } from 'vue'
import { ElLoading, ElScrollbar } from 'element-plus'
const plugins = [ElLoading]
const components = [ElScrollbar]
export function setupElementPlus(app: App) {
plugins.forEach((plugin) => {
app.use(plugin)
})
components.forEach((component) => {
app.component(component.name, component)
})