sooyie-task 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,105 +0,0 @@
1
- import { createRouter as t, createWebHistory as a } from "vue-router";
2
- import { RedirectPage as o, Layout as e, LoginPage as n, ProfilePage as r, DashboardPage as i, Error401Page as d, Error404Page as m, routerRef as s } from "jmash-core";
3
- const h = () => import("./edit-CRQkMd15.mjs"), p = () => import("./info-Dls9Zhvf.mjs"), c = [
4
- {
5
- path: "/task",
6
- component: e,
7
- name: "task",
8
- meta: {
9
- hidden: !0
10
- },
11
- children: [
12
- {
13
- path: "/task/task-define/edit",
14
- component: h,
15
- name: "taskEdit",
16
- meta: {
17
- hidden: !1,
18
- title: "编辑"
19
- }
20
- },
21
- {
22
- path: "/task/task-inst/info",
23
- component: p,
24
- name: "taskDetail",
25
- meta: {
26
- hidden: !1,
27
- title: "任务详情"
28
- }
29
- }
30
- ]
31
- }
32
- ], l = [
33
- {
34
- path: "/redirect",
35
- component: e,
36
- meta: { hidden: !0 },
37
- children: [
38
- {
39
- path: "/redirect/:path(.*)",
40
- component: o
41
- }
42
- ]
43
- },
44
- {
45
- path: "/login",
46
- component: n,
47
- meta: { hidden: !0 }
48
- },
49
- {
50
- path: "/my",
51
- component: e,
52
- meta: { hidden: !0 },
53
- redirect: "noredirect",
54
- children: [
55
- {
56
- path: "profile",
57
- component: r,
58
- name: "Profile",
59
- meta: { title: "个人中心", icon: "user" }
60
- }
61
- ]
62
- },
63
- {
64
- path: "/",
65
- name: "/",
66
- component: e,
67
- redirect: "/dashboard",
68
- children: [
69
- {
70
- path: "/dashboard",
71
- component: i,
72
- name: "Dashboard",
73
- // 用于 keep-alive, 必须与SFC自动推导或者显示声明的组件name一致
74
- // https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
75
- meta: {
76
- title: "Dashboard",
77
- icon: "homepage",
78
- affix: !0,
79
- keepAlive: !0,
80
- alwaysShow: !1
81
- }
82
- },
83
- {
84
- path: "401",
85
- component: d,
86
- meta: { hidden: !0 }
87
- },
88
- {
89
- path: "404",
90
- component: m,
91
- meta: { hidden: !0 }
92
- }
93
- ]
94
- },
95
- ...c
96
- ], u = t({
97
- history: a(void 0),
98
- routes: l,
99
- // 刷新时,滚动条位置还原
100
- scrollBehavior: () => ({ left: 0, top: 0 })
101
- });
102
- s.value = u;
103
- export {
104
- u as r
105
- };