cool-admin-vue/cool/index.js

42 lines
679 B
JavaScript
Raw Normal View History

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 {
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],
["demo", Demo]
2021-02-28 01:55:04 +08:00
]
};