Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
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
poc
poc-fe
Commits
cddb9b77
Commit
cddb9b77
authored
Oct 18, 2024
by
nick zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 弹窗按钮内容及应用设置页多语言
parent
ca9e4b38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
custom-modal.vue
src/components/custom-modal/custom-modal.vue
+4
-2
page-narbar.vue
...nal-space/personal-app-setting/components/page-narbar.vue
+1
-1
No files found.
src/components/custom-modal/custom-modal.vue
View file @
cddb9b77
...
...
@@ -93,13 +93,15 @@ function handleConfirm() {
<slot
v-if=
"slots.footer"
name=
"footer"
/>
<div
v-else
class=
"flex w-full items-center justify-end"
>
<NButton
class=
"h-[32px]! rounded-md! px-6!"
@
click=
"handleCloseModal"
>
{{
t
(
confirmBtnText
)
}}
</NButton>
<NButton
class=
"h-[34px]! rounded-full! px-6! min-w-[96px]!"
@
click=
"handleCloseModal"
>
{{
t
(
cancelBtnText
)
}}
</NButton>
<NButton
:loading=
"btnLoading"
type=
"primary"
:bordered=
"false"
:disabled=
"btnDisabled"
class=
"h-[3
2px]! px-6! rounded-md! ml-4
!"
class=
"h-[3
4px]! px-6! rounded-full! ml-4! min-w-[96px]
!"
@
click=
"handleConfirm"
>
{{
t
(
confirmBtnText
)
}}
...
...
src/views/personal-space/personal-app-setting/components/page-narbar.vue
View file @
cddb9b77
...
...
@@ -59,7 +59,7 @@ const personalAppConfig = computed(() => personalAppConfigStore.$state)
const
menuOptions
=
computed
(()
=>
{
return
sidebarMenus
.
map
((
item
)
=>
{
return
{
label
:
item
.
label
,
label
:
()
=>
h
(
'span'
,
{},
t
(
item
.
label
))
,
key
:
item
.
key
,
routeName
:
item
.
routeName
,
icon
:
()
=>
h
(
CustomIcon
,
{
icon
:
item
.
icon
||
'icon-home'
}),
...
...
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