Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5f8cf73a
authored
Nov 10, 2025
by
陈岩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 优化商品类型展示问题
1 parent
7c2fef15
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
5f8cf73
...
@@ -896,6 +896,9 @@ export default {
...
@@ -896,6 +896,9 @@ export default {
}
}
}
}
const
formatProduct
=
function
(
val
)
{
const
formatProduct
=
function
(
val
)
{
if
(
val
<
0
){
return
'无效'
}
return
(
productList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
return
(
productList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
}
}
const
formatPosition
=
function
(
val
)
{
const
formatPosition
=
function
(
val
)
{
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
5f8cf73
...
@@ -660,6 +660,9 @@ export default {
...
@@ -660,6 +660,9 @@ export default {
// return (personTypeList.value.filter(v => v.value == val)[0] || {label:'--'}).label
// return (personTypeList.value.filter(v => v.value == val)[0] || {label:'--'}).label
}
}
const
formatProduct
=
function
(
val
)
{
const
formatProduct
=
function
(
val
)
{
if
(
val
<
0
){
return
'无效'
}
return
(
productList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
return
(
productList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
}
}
const
formatPosition
=
function
(
val
)
{
const
formatPosition
=
function
(
val
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment