formdesign.ts 654 B

1234567891011121314151617181920212223242526
  1. import { $t } from "@/plugins/i18n";
  2. import { formdesign } from "@/router/enums";
  3. const IFrame = () => import("@/layout/frameView.vue");
  4. export default {
  5. path: "/form-design",
  6. redirect: "/form-design/index",
  7. meta: {
  8. icon: "terminalWindowLine",
  9. title: $t("menus.hsFormDesign"),
  10. rank: formdesign
  11. },
  12. children: [
  13. {
  14. path: "/form-design/index",
  15. name: "FormDesign",
  16. component: IFrame,
  17. meta: {
  18. title: $t("menus.hsFormDesign"),
  19. frameSrc:
  20. "https://haixin-fang.github.io/vue-form-design/playground/index.html",
  21. frameLoading: false
  22. }
  23. }
  24. ]
  25. } satisfies RouteConfigsTable;