初始化

This commit is contained in:
2026-03-26 20:18:20 +08:00
commit 120a5b4dfd
368 changed files with 35926 additions and 0 deletions

25
src/plugins/ui.ts Normal file
View File

@@ -0,0 +1,25 @@
import type { App } from 'vue';
import ElementPlus, { ElCard, ElForm, ElTable } from 'element-plus';
/** global table column align */
ElTable.TableColumn.props.align = {
type: String,
default: 'center'
};
/** global ElCard shadow */
ElCard.props.shadow = {
type: String,
default: 'never'
};
/** global ElForm require asterisk position */
ElForm.props.requireAsteriskPosition = {
type: String,
default: 'right'
};
/** full import ElementPlus */
export const setupUI = (app: App) => {
app.use(ElementPlus);
};