befly-admin 3.12.9 → 3.12.11
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.
- package/package.json +4 -4
- package/src/components/pagedTableDetail.vue +3 -1
- package/src/layouts/default.vue +3 -5
- package/src/types/auto-imports.d.ts +2 -3
- package/.gitignore +0 -31
- package/bunfig.toml +0 -3
- package/src/types/befly-vite.d.ts +0 -9
- package/src/types/shims-vue.d.ts +0 -6
- package/src/types/vite-env.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "befly-admin",
|
|
3
|
-
"version": "3.12.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "3.12.11",
|
|
4
|
+
"gitHead": "8397629cd2bc2e37d91c3b15773af52ac8ff7681",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Befly Admin - 基于 Vue3 + TDesign Vue Next 的后台管理系统",
|
|
7
7
|
"files": [
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"preview": "bunx --bun vite preview"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@befly-addon/admin": "^1.8.
|
|
31
|
+
"@befly-addon/admin": "^1.8.8",
|
|
32
32
|
"@iconify-json/lucide": "^1.2.86",
|
|
33
33
|
"axios": "^1.13.2",
|
|
34
34
|
"befly-shared": "^1.4.5",
|
|
35
|
-
"befly-vite": "^1.4.
|
|
35
|
+
"befly-vite": "^1.4.10",
|
|
36
36
|
"pinia": "^3.0.4",
|
|
37
37
|
"tdesign-vue-next": "^1.18.0",
|
|
38
38
|
"vite": "^8.0.0-beta.8",
|
|
@@ -40,6 +40,8 @@
|
|
|
40
40
|
<script setup lang="ts">
|
|
41
41
|
defineOptions({ name: "PagedTableDetail" });
|
|
42
42
|
|
|
43
|
+
import { reactive } from "vue";
|
|
44
|
+
|
|
43
45
|
type PrimaryTableCol = import("tdesign-vue-next").PrimaryTableCol;
|
|
44
46
|
type TableRowData = import("tdesign-vue-next").TableRowData;
|
|
45
47
|
|
|
@@ -132,7 +134,7 @@ const emit = defineEmits<{
|
|
|
132
134
|
|
|
133
135
|
const slots = useSlots();
|
|
134
136
|
|
|
135
|
-
const $Data =
|
|
137
|
+
const $Data = reactive({
|
|
136
138
|
rows: [] as TableRowData[],
|
|
137
139
|
loading: false,
|
|
138
140
|
pager: {
|
package/src/layouts/default.vue
CHANGED
|
@@ -77,6 +77,8 @@
|
|
|
77
77
|
<script setup lang="ts">
|
|
78
78
|
import { arrayToTree } from "befly-shared/utils/arrayToTree";
|
|
79
79
|
|
|
80
|
+
import { reactive } from "vue";
|
|
81
|
+
|
|
80
82
|
const router = useRouter();
|
|
81
83
|
const route = useRoute();
|
|
82
84
|
const global = useGlobal();
|
|
@@ -112,12 +114,8 @@ const normalizeParentPath = (parentPath) => {
|
|
|
112
114
|
return normalized;
|
|
113
115
|
};
|
|
114
116
|
|
|
115
|
-
const $From = {
|
|
116
|
-
treeMenuRef: null
|
|
117
|
-
};
|
|
118
|
-
|
|
119
117
|
// 响应式数据
|
|
120
|
-
const $Data =
|
|
118
|
+
const $Data = reactive({
|
|
121
119
|
userMenus: [],
|
|
122
120
|
userMenusFlat: [], // 一维菜单数据
|
|
123
121
|
expandedKeys: [],
|
|
@@ -14,8 +14,6 @@ declare global {
|
|
|
14
14
|
const EffectScope: typeof import('vue').EffectScope
|
|
15
15
|
const MessagePlugin: typeof import('tdesign-vue-next').MessagePlugin
|
|
16
16
|
const acceptHMRUpdate: typeof import('pinia').acceptHMRUpdate
|
|
17
|
-
const arrayToTree: typeof import('befly-shared/utils/arrayToTree').arrayToTree
|
|
18
|
-
const cleanParams: typeof import('befly-shared/utils/cleanParams').cleanParams
|
|
19
17
|
const computed: typeof import('vue').computed
|
|
20
18
|
const createApp: typeof import('vue').createApp
|
|
21
19
|
const createPinia: typeof import('pinia').createPinia
|
|
@@ -64,7 +62,6 @@ declare global {
|
|
|
64
62
|
const readonly: typeof import('vue').readonly
|
|
65
63
|
const ref: typeof import('vue').ref
|
|
66
64
|
const resolveComponent: typeof import('vue').resolveComponent
|
|
67
|
-
const router: typeof import('../plugins/router').router
|
|
68
65
|
const setActivePinia: typeof import('pinia').setActivePinia
|
|
69
66
|
const setMapStoreSuffix: typeof import('pinia').setMapStoreSuffix
|
|
70
67
|
const shallowReactive: typeof import('vue').shallowReactive
|
|
@@ -114,7 +111,9 @@ declare module 'vue' {
|
|
|
114
111
|
readonly $Http: UnwrapRef<typeof import('../plugins/http')['$Http']>
|
|
115
112
|
readonly $Router: UnwrapRef<typeof import('../plugins/router')['$Router']>
|
|
116
113
|
readonly $Storage: UnwrapRef<typeof import('../plugins/storage')['$Storage']>
|
|
114
|
+
readonly DialogPlugin: UnwrapRef<typeof import('tdesign-vue-next')['DialogPlugin']>
|
|
117
115
|
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
|
116
|
+
readonly MessagePlugin: UnwrapRef<typeof import('tdesign-vue-next')['MessagePlugin']>
|
|
118
117
|
readonly acceptHMRUpdate: UnwrapRef<typeof import('pinia')['acceptHMRUpdate']>
|
|
119
118
|
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
|
120
119
|
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
package/.gitignore
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
types
|
|
2
|
-
.vite-inspect
|
|
3
|
-
|
|
4
|
-
# Logs
|
|
5
|
-
logs
|
|
6
|
-
*.log
|
|
7
|
-
npm-debug.log*
|
|
8
|
-
yarn-debug.log*
|
|
9
|
-
yarn-error.log*
|
|
10
|
-
pnpm-debug.log*
|
|
11
|
-
lerna-debug.log*
|
|
12
|
-
|
|
13
|
-
node_modules
|
|
14
|
-
dist
|
|
15
|
-
dist-ssr
|
|
16
|
-
*.local
|
|
17
|
-
|
|
18
|
-
# Editor directories and files
|
|
19
|
-
.vscode/*
|
|
20
|
-
!.vscode/extensions.json
|
|
21
|
-
.idea
|
|
22
|
-
.DS_Store
|
|
23
|
-
*.suo
|
|
24
|
-
*.ntvs*
|
|
25
|
-
*.njsproj
|
|
26
|
-
*.sln
|
|
27
|
-
*.sw?
|
|
28
|
-
|
|
29
|
-
# Auto-generated files
|
|
30
|
-
src/types/auto-imports.d.ts
|
|
31
|
-
src/types/components.d.ts
|
package/bunfig.toml
DELETED
package/src/types/shims-vue.d.ts
DELETED
package/src/types/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|