mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-21 12:50:31 +00:00
34 lines
525 B
TypeScript
34 lines
525 B
TypeScript
export default () => {
|
|
return {
|
|
components: [
|
|
import("./components/upload.vue"),
|
|
import("./components/space.vue"),
|
|
import("./components/space-inner.vue")
|
|
],
|
|
|
|
options: {
|
|
// 尺寸
|
|
size: 120,
|
|
// 显示文案
|
|
text: "选择文件",
|
|
// 限制
|
|
limit: {
|
|
// 上传最大数量
|
|
upload: 9,
|
|
// 上传大小限制
|
|
size: 100
|
|
}
|
|
},
|
|
|
|
views: [
|
|
{
|
|
meta: {
|
|
label: "文件空间"
|
|
},
|
|
path: "/upload/list",
|
|
component: () => import("./views/list.vue")
|
|
}
|
|
]
|
|
};
|
|
};
|