Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
30d5c3f7
Commit
30d5c3f7
authored
Sep 25, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改问题
parent
c18f0593
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
26 deletions
+16
-26
src/views/order/podCN/index.vue
+8
-13
src/views/order/podUs/index.vue
+8
-13
No files found.
src/views/order/podCN/index.vue
View file @
30d5c3f7
...
...
@@ -1222,19 +1222,8 @@
</div>
<div
class=
"order-detail-item"
>
<span
class=
"order-detail-item-label"
>
自定义标签:
</span>
<span
class=
"order-detail-item-value"
:title=
"
row.customTagList?.length
? row.customTagList.map((item) => item.name).join(',')
: ''
"
>
{{
row
.
customTagList
?.
length
?
row
.
customTagList
.
map
((
item
)
=>
item
.
name
).
join
(
','
)
:
''
}}
<span
class=
"order-detail-item-value"
:title=
"getTagName(row)"
>
{{
getTagName
(
row
)
}}
</span>
</div>
<div
class=
"order-detail-item"
>
...
...
@@ -5039,6 +5028,12 @@ const handleBeforeRouteLeave = (
next
()
}
const
getTagName
=
(
row
:
ProductList
)
=>
{
return
row
.
customTagList
?.
length
?
row
.
customTagList
.
map
((
item
:
{
name
:
string
}
)
=>
item
.
name
).
join
(
','
)
:
''
}
useRouter
().
beforeEach
((
to
,
from
,
next
)
=>
{
handleBeforeRouteLeave
(
to
,
from
,
next
)
}
)
...
...
src/views/order/podUs/index.vue
View file @
30d5c3f7
...
...
@@ -1384,19 +1384,8 @@
</div>
<div
class=
"order-detail-item"
>
<span
class=
"order-detail-item-label"
>
自定义标签:
</span>
<span
class=
"order-detail-item-value"
:title=
"
row.customTagList?.length
? row.customTagList.map((item) => item.name).join(',')
: ''
"
>
{{
row
.
customTagList
?.
length
?
row
.
customTagList
.
map
((
item
)
=>
item
.
name
).
join
(
','
)
:
''
}}
<span
class=
"order-detail-item-value"
:title=
"getTagName(row)"
>
{{
getTagName
(
row
)
}}
</span>
</div>
<div
class=
"order-detail-item"
>
...
...
@@ -5985,6 +5974,12 @@ async function getPermission() {
console
.
log
(
res
)
}
const
getTagName
=
(
row
:
ProductList
)
=>
{
return
row
.
customTagList
?.
length
?
row
.
customTagList
.
map
((
item
:
{
name
:
string
}
)
=>
item
.
name
).
join
(
','
)
:
''
}
getPermission
()
const
globalProperties
=
getCurrentInstance
()?.
appContext
.
config
.
globalProperties
// 获取全局挂载
...
...
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