index10.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { resolveDirective as p, openBlock as i, createElementBlock as c, createVNode as a, withCtx as e, withDirectives as u, createBlock as f, createTextVNode as s, createElementVNode as _ } from "vue";
  2. import { l as v, U as k } from "./index2.js";
  3. import { C as x } from "./index25.js";
  4. const C = {
  5. name: "HomePage",
  6. data() {
  7. return {};
  8. },
  9. methods: {
  10. handLink(o) {
  11. this.$router.push(o);
  12. }
  13. },
  14. mounted() {
  15. }
  16. }, y = { class: "home-page" };
  17. function $(o, t, w, B, g, n) {
  18. const r = k, d = x, m = p("action");
  19. return i(), c("div", y, [
  20. a(d, { title: "首页" }, {
  21. default: e(() => [
  22. u((i(), f(r, {
  23. type: "primary",
  24. onClick: t[0] || (t[0] = (l) => n.handLink("/systemConfiguration"))
  25. }, {
  26. default: e(() => t[2] || (t[2] = [
  27. s("按钮权限测试")
  28. ])),
  29. _: 1
  30. })), [
  31. [m, void 0, "view"]
  32. ]),
  33. a(r, {
  34. type: "primary",
  35. onClick: t[1] || (t[1] = (l) => n.handLink("/workplace"))
  36. }, {
  37. default: e(() => t[3] || (t[3] = [
  38. s("按钮主题测试")
  39. ])),
  40. _: 1
  41. }),
  42. t[4] || (t[4] = _("div", { class: "mt-50" }, "测试样式", -1))
  43. ]),
  44. _: 1
  45. })
  46. ]);
  47. }
  48. const D = /* @__PURE__ */ v(C, [["render", $]]);
  49. export {
  50. D as default
  51. };