Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4365ca61
authored
Oct 31, 2023
by
xingyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: title name
parent
ce93c8d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/components/Tooltip/src/Tooltip.vue
+2
-2
src/views/system/menu/MenuForm.vue
+5
-5
No files found.
src/components/Tooltip/src/Tooltip.vue
View file @
4365ca61
...
...
@@ -4,13 +4,13 @@ import { propTypes } from '@/utils/propTypes'
defineOptions
({
name
:
'Tooltip'
})
defineProps
({
tit
el
:
propTypes
.
string
.
def
(
''
),
tit
le
:
propTypes
.
string
.
def
(
''
),
message
:
propTypes
.
string
.
def
(
''
),
icon
:
propTypes
.
string
.
def
(
'ep:question-filled'
)
})
</
script
>
<
template
>
<span>
{{
tit
el
}}
</span>
<span>
{{
tit
le
}}
</span>
<ElTooltip
:content=
"message"
placement=
"top"
>
<Icon
:icon=
"icon"
class=
"relative top-1px ml-1px"
/>
</ElTooltip>
...
...
src/views/system/menu/MenuForm.vue
View file @
4365ca61
...
...
@@ -38,7 +38,7 @@
<template
#
label
>
<Tooltip
message=
"访问的路由地址,如:`user`。如需外网地址时,则以 `http(s)://` 开头"
tit
el
=
"路由地址"
tit
le
=
"路由地址"
/>
</
template
>
<el-input
v-model=
"formData.path"
clearable
placeholder=
"请输入路由地址"
/>
...
...
@@ -53,7 +53,7 @@
<
template
#
label
>
<Tooltip
message=
"Controller 方法上的权限字符,如:@PreAuthorize(`@ss.hasPermission('system:user:list')`)"
tit
el
=
"权限标识"
tit
le
=
"权限标识"
/>
</
template
>
<el-input
v-model=
"formData.permission"
clearable
placeholder=
"请输入权限标识"
/>
...
...
@@ -74,7 +74,7 @@
</el-form-item>
<el-form-item
v-if=
"formData.type !== 3"
label=
"显示状态"
prop=
"visible"
>
<
template
#
label
>
<Tooltip
message=
"选择隐藏时,路由将不会出现在侧边栏,但仍然可以访问"
tit
el
=
"显示状态"
/>
<Tooltip
message=
"选择隐藏时,路由将不会出现在侧边栏,但仍然可以访问"
tit
le
=
"显示状态"
/>
</
template
>
<el-radio-group
v-model=
"formData.visible"
>
<el-radio
key=
"true"
:label=
"true"
border
>
显示
</el-radio>
...
...
@@ -85,7 +85,7 @@
<
template
#
label
>
<Tooltip
message=
"选择不是时,当该菜单只有一个子菜单时,不展示自己,直接展示子菜单"
tit
el
=
"总是显示"
tit
le
=
"总是显示"
/>
</
template
>
<el-radio-group
v-model=
"formData.alwaysShow"
>
...
...
@@ -97,7 +97,7 @@
<
template
#
label
>
<Tooltip
message=
"选择缓存时,则会被 `keep-alive` 缓存,必须填写「组件名称」字段"
tit
el
=
"缓存状态"
tit
le
=
"缓存状态"
/>
</
template
>
<el-radio-group
v-model=
"formData.keepAlive"
>
...
...
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