Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
6743ca74
Commit
6743ca74
authored
Oct 12, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复navbar title的显示
parent
456d17aa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
index.vue
src/components/NavBar/index.vue
+3
-2
displayName.ts
src/utils/displayName.ts
+1
-1
No files found.
src/components/NavBar/index.vue
View file @
6743ca74
<
template
>
<div
class=
"navbar w-full"
style=
"z-index: 300"
>
<div
class=
"h-full theBar flex items-center px-5 justify-center relative
"
class=
"h-full theBar flex items-center px-5 justify-center relative"
style=
"background:#F7F7FA"
v-bind=
"$attrs"
>
...
...
@@ -14,6 +14,7 @@
size=
"18"
:color=
"iconColor"
/>
<div
class=
"flex-shrink-0"
style=
"width: 18px; height:18px;"
></div>
<icon
v-if=
"showSecondIcon"
name=
"icon-kefu"
...
...
@@ -30,7 +31,7 @@
@
click=
"$router.push(path)"
:color=
"iconColor"
/>
<div
class=
"title"
>
{{
title
}}
</div>
<div
class=
"title
whitespace-nowrap overflow-hidden overflow-ellipsis px-2
"
>
{{
title
}}
</div>
</div>
</div>
<div
class=
"some-block"
v-if=
"occupyPosition"
></div>
...
...
src/utils/displayName.ts
View file @
6743ca74
...
...
@@ -51,7 +51,7 @@ export const getDisplayNamesFromAddress = async (
return
addressList
.
map
((
item
)
=>
{
const
msg
=
fullList
.
find
((
i
:
any
)
=>
i
?.
addr
===
item
)
if
(
msg
?.
out_let_name
)
{
return
msg
?.
out_let_name
+
'客服经理'
return
msg
?.
out_let_name
+
msg
.
user_name
}
else
{
return
msg
?.
phone
}
...
...
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