头像上传功能、性别选择

This commit is contained in:
橙子
2022-10-13 23:55:21 +08:00
parent 3555b08fe8
commit 8456320884
119 changed files with 51 additions and 31 deletions

View File

@@ -0,0 +1,20 @@
/**
* plugins/app.js
*
* Automatically loads and bootstraps files
* in the `./src/components/` folder.
*/
// Imports
import Vue from 'vue'
const requireComponent = require.context('@/components', true, /\.vue$/)
for (const file of requireComponent.keys()) {
const componentConfig = requireComponent(file)
Vue.component(
componentConfig.default.name,
componentConfig.default || componentConfig,
)
}