Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
GaoQuYingJiH5-ASD
Commits
58aa4d82
Commit
58aa4d82
authored
Jul 01, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:商户详情图片为空时,数据格式导致上传不了图片的问题处理
parent
7d764eab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
_shanghu_detail-edit.js
src/_shanghu_detail-edit.js
+6
-1
No files found.
src/_shanghu_detail-edit.js
View file @
58aa4d82
...
...
@@ -139,7 +139,6 @@ window.addEventListener('load', function () {
return
true
;
},
afterRead
(
file
,
type
)
{
// 调用爱山东中台系统,将数据流传递过去
alert
(
type
)
vant
.
Toast
.
loading
({
message
:
'
正在处理...
'
,
forbidClick
:
true
,
...
...
@@ -562,12 +561,18 @@ window.addEventListener('load', function () {
let
tempData
=
result
.
data
if
(
tempData
[
'
businessLicensePhotos
'
]){
tempData
[
'
businessLicensePhotos
'
]
=
tempData
[
'
businessLicensePhotos
'
].
split
(
'
,
'
)
}
else
{
tempData
[
'
businessLicensePhotos
'
]
=
[]
}
if
(
tempData
[
'
floorPlanPhotos
'
]){
tempData
[
'
floorPlanPhotos
'
]
=
tempData
[
'
floorPlanPhotos
'
].
split
(
'
,
'
)
}
else
{
tempData
[
'
floorPlanPhotos
'
]
=
[]
}
if
(
tempData
[
'
storefrontPhotos
'
]){
tempData
[
'
storefrontPhotos
'
]
=
tempData
[
'
storefrontPhotos
'
].
split
(
'
,
'
)
}
else
{
tempData
[
'
storefrontPhotos
'
]
=
[]
}
this
.
formData
=
tempData
...
...
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