2021-02-28 22:24:54 +08:00
|
|
|
import Base from "./modules/base";
|
|
|
|
import Upload from "./modules/upload";
|
|
|
|
import Copy from "./modules/copy";
|
|
|
|
import Demo from "./modules/demo";
|
|
|
|
import Distpicker from "./modules/distpicker";
|
2021-02-28 01:55:04 +08:00
|
|
|
import Crud from "cl-admin-crud";
|
|
|
|
import Export from "cl-admin-export";
|
|
|
|
|
|
|
|
export default {
|
2021-02-28 22:24:54 +08:00
|
|
|
modules: [
|
2021-02-28 01:55:04 +08:00
|
|
|
["base", Base],
|
|
|
|
[
|
|
|
|
"upload",
|
|
|
|
Upload,
|
|
|
|
{
|
|
|
|
icon: "el-icon-picture",
|
|
|
|
text: "选择图片",
|
|
|
|
limitSize: 1,
|
|
|
|
rename: true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"crud",
|
|
|
|
Crud,
|
|
|
|
{
|
|
|
|
crud: {
|
|
|
|
dict: {
|
|
|
|
sort: {
|
|
|
|
prop: "order",
|
|
|
|
order: "sort"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
["export", Export],
|
|
|
|
["copy", Copy],
|
|
|
|
["distpicker", Distpicker],
|
2021-02-28 22:24:54 +08:00
|
|
|
["demo", Demo]
|
2021-02-28 01:55:04 +08:00
|
|
|
]
|
|
|
|
};
|