bunny-admin-element-thin-i18n/other-views/schema-form/list.tsx

42 lines
871 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Base from "./form/base.vue";
import Dialog from "./form/dialog.vue";
import Drawer from "./form/drawer.vue";
import Steps from "./form/steps.vue";
import Search from "./form/search.vue";
const rendContent = (val: string) =>
`代码位置src/views/schema-form/form/${val}.vue`;
export const list = [
{
key: "base",
content: rendContent("base"),
title: "基础表单",
component: Base
},
{
key: "dialog",
content: rendContent("dialog"),
title: "弹框表单",
component: Dialog
},
{
key: "drawer",
content: rendContent("drawer"),
title: "抽屉表单",
component: Drawer
},
{
key: "steps",
content: rendContent("steps"),
title: "分步表单",
component: Steps
},
{
key: "search",
content: rendContent("search"),
title: "搜索表单",
component: Search
}
];