Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
Vue-Dashboard
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高源
Vue-Dashboard
Commits
954c9edb
Commit
954c9edb
authored
Nov 18, 2024
by
高源
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置项中文描述缺失解决
parent
d86e54ec
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
.env.prod
.env.prod
+1
-1
page-fun.vue
src/layouts/modules/theme-drawer/modules/page-fun.vue
+1
-1
main.ts
src/main.ts
+1
-1
index.ts
src/router/routes/index.ts
+4
-4
components.d.ts
src/typings/components.d.ts
+5
-0
No files found.
.env.prod
View file @
954c9edb
# backend service base url, prod environment
VITE_SERVICE_BASE_URL=''
VITE_SERVICE_BASE_URL='
http://localhost:80
'
# other backend service base url, prod environment
VITE_OTHER_SERVICE_BASE_URL= `{
...
...
src/layouts/modules/theme-drawer/modules/page-fun.vue
View file @
954c9edb
...
...
@@ -4,7 +4,7 @@ import { $t } from '@/locales';
import
{
useThemeStore
}
from
'@/store/modules/theme'
;
import
{
themePageAnimationModeOptions
,
themeScrollModeOptions
,
themeTabModeOptions
}
from
'@/constants/app'
;
import
{
translateOptions
}
from
'@/utils/common'
;
//
import SettingItem from '../components/setting-item.vue';
import
SettingItem
from
'../components/setting-item.vue'
;
defineOptions
({
name
:
'PageFun'
...
...
src/main.ts
View file @
954c9edb
...
...
@@ -3,7 +3,7 @@ import './plugins/assets';
import
{
localStg
}
from
'@/utils/storage'
;
// main.js or main.ts
import
'@fortawesome/fontawesome-free/css/all.css'
;
// 导入所有的 Font Awesome 样式
import
{
setup
AppVersionNotification
,
setup
Dayjs
,
setupIconifyOffline
,
setupLoading
,
setupNProgress
}
from
'./plugins'
;
import
{
setupDayjs
,
setupIconifyOffline
,
setupLoading
,
setupNProgress
}
from
'./plugins'
;
import
{
setupStore
}
from
'./store'
;
import
{
setupRouter
}
from
'./router'
;
import
{
setupI18n
}
from
'./locales'
;
...
...
src/router/routes/index.ts
View file @
954c9edb
...
...
@@ -186,10 +186,10 @@ const customRoutes: CustomRoute[] = [
* @param MenuThree MenuThree
*/
// ${window.uiGlobalConfig.InternalCode}
//
const { data: menus } = await getRootMenu(`/Restful/Kivii.Basic.Entities.Menu/Show.json?RootInternalCode=dashboard`);
const
{
data
:
menus
}
=
await
getRootMenu
(
`/Restful/Kivii.Basic.Entities.Menu/Show.json?RootInternalCode=
${
window
.
uiGlobalConfig
.
InternalCode
}
`
);
const
{
data
:
menus
}
=
await
getRootMenu
(
`/Restful/Kivii.Basic.Entities.Menu/Show.json?RootInternalCode=dashboard`
);
//
const { data: menus } = await getRootMenu(
//
`/Restful/Kivii.Basic.Entities.Menu/Show.json?RootInternalCode=${window.uiGlobalConfig.InternalCode}`
//
);
// const rootMenu =getRootMenu('/Restful/Kivii.Basic.Entities.Menu/Show.json?RootInternalCode=Dashboard');
const
MenuThree
=
await
getMenuThree
(
menus
?.
MenusMain
?.
Results
);
...
...
src/typings/components.d.ts
View file @
954c9edb
...
...
@@ -18,6 +18,7 @@ declare module 'vue' {
IconAntDesignReloadOutlined
:
typeof
import
(
'~icons/ant-design/reload-outlined'
)[
'default'
]
IconGridiconsFullscreen
:
typeof
import
(
'~icons/gridicons/fullscreen'
)[
'default'
]
IconGridiconsFullscreenExit
:
typeof
import
(
'~icons/gridicons/fullscreen-exit'
)[
'default'
]
IconLocalBanner
:
typeof
import
(
'~icons/local/banner'
)[
'default'
]
IconLocalLogo
:
typeof
import
(
'~icons/local/logo'
)[
'default'
]
IconMdiArrowDownThin
:
typeof
import
(
'~icons/mdi/arrow-down-thin'
)[
'default'
]
IconMdiArrowUpThin
:
typeof
import
(
'~icons/mdi/arrow-up-thin'
)[
'default'
]
...
...
@@ -27,6 +28,7 @@ declare module 'vue' {
LangSwitch
:
typeof
import
(
'./../components/common/lang-switch.vue'
)[
'default'
]
LookForward
:
typeof
import
(
'./../components/custom/look-forward.vue'
)[
'default'
]
MenuToggler
:
typeof
import
(
'./../components/common/menu-toggler.vue'
)[
'default'
]
NAlert
:
typeof
import
(
'naive-ui'
)[
'NAlert'
]
NBreadcrumb
:
typeof
import
(
'naive-ui'
)[
'NBreadcrumb'
]
NBreadcrumbItem
:
typeof
import
(
'naive-ui'
)[
'NBreadcrumbItem'
]
NButton
:
typeof
import
(
'naive-ui'
)[
'NButton'
]
...
...
@@ -46,6 +48,8 @@ declare module 'vue' {
NInput
:
typeof
import
(
'naive-ui'
)[
'NInput'
]
NInputGroup
:
typeof
import
(
'naive-ui'
)[
'NInputGroup'
]
NInputNumber
:
typeof
import
(
'naive-ui'
)[
'NInputNumber'
]
NList
:
typeof
import
(
'naive-ui'
)[
'NList'
]
NListItem
:
typeof
import
(
'naive-ui'
)[
'NListItem'
]
NLoadingBarProvider
:
typeof
import
(
'naive-ui'
)[
'NLoadingBarProvider'
]
NMenu
:
typeof
import
(
'naive-ui'
)[
'NMenu'
]
NMessageProvider
:
typeof
import
(
'naive-ui'
)[
'NMessageProvider'
]
...
...
@@ -58,6 +62,7 @@ declare module 'vue' {
NSwitch
:
typeof
import
(
'naive-ui'
)[
'NSwitch'
]
NTab
:
typeof
import
(
'naive-ui'
)[
'NTab'
]
NTabs
:
typeof
import
(
'naive-ui'
)[
'NTabs'
]
NThing
:
typeof
import
(
'naive-ui'
)[
'NThing'
]
NTooltip
:
typeof
import
(
'naive-ui'
)[
'NTooltip'
]
NWatermark
:
typeof
import
(
'naive-ui'
)[
'NWatermark'
]
PinToggler
:
typeof
import
(
'./../components/common/pin-toggler.vue'
)[
'default'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment