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
aaedfb07
Commit
aaedfb07
authored
Nov 25, 2025
by
zhuzhequan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复podcn图片显示问题
parent
0eabaffd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
src/views/order/podCN/index.vue
+14
-1
No files found.
src/views/order/podCN/index.vue
View file @
aaedfb07
...
...
@@ -403,7 +403,7 @@
</ElFormItem>
<ElFormItem>
<span>
<ElButton
type=
"primary"
@
click=
"search"
ref=
"searchBtnRef
"
<ElButton
ref=
"searchBtnRef"
type=
"primary"
@
click=
"search
"
>
查询
</ElButton
>
</span>
...
...
@@ -5150,6 +5150,17 @@ watch(
(
newData
)
=>
{
if
(
!
newData
?.
length
)
return
newData
.
forEach
((
order
)
=>
{
const
item
=
order
as
ProductList
if
(
item
.
imageAry
){
if
(
item
.
imageAry
.
startsWith
(
'http'
)){
item
.
imageAry
=
JSON
.
stringify
(
item
.
imageAry
.
split
(
','
).
map
(
e
=>
{
return
{
url
:
e
}
}
))
}
}
if
(
order
.
productList
){
// 使用可选链和空值合并简化判断
order
.
productList
?.
forEach
((
product
)
=>
{
if
(
!
product
.
previewImgs
&&
product
.
imageAry
)
{
...
...
@@ -5164,6 +5175,8 @@ watch(
}
}
}
)
}
}
)
}
,
{
deep
:
true
,
immediate
:
true
}
,
// 添加immediate确保初始化时执行
...
...
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