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
d49666da
Commit
d49666da
authored
Oct 11, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:鸿蒙适配,图片上传响应图片字段解析处理。
parent
3d1ad0e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
_check_info.js
src/_check_info.js
+1
-1
_consumer_home.js
src/_consumer_home.js
+1
-1
_peixun_yanlian_detail-anquan.js
src/_peixun_yanlian_detail-anquan.js
+1
-1
_peixun_yanlian_detail-yingji.js
src/_peixun_yanlian_detail-yingji.js
+1
-1
_tezhongzuoye_detail.js
src/_tezhongzuoye_detail.js
+1
-1
No files found.
src/_check_info.js
View file @
d49666da
...
@@ -289,7 +289,7 @@ window.onload = function () {
...
@@ -289,7 +289,7 @@ window.onload = function () {
console
.
log
(
value
,
'
chooseFileUploadTest图片上传回调
'
)
console
.
log
(
value
,
'
chooseFileUploadTest图片上传回调
'
)
if
(
value
){
if
(
value
){
// item.photos.push(...JSON.parse(value).fileNames)
// item.photos.push(...JSON.parse(value).fileNames)
if
(
gemhoUtil
.
isIOSStrict
()){
// ios直接返回对象
if
(
gemhoUtil
.
isIOSStrict
()
||
gemhoUtil
.
isHarmonyOS
()
){
// ios直接返回对象
item
.
photos
.
push
(...
value
.
fileNames
)
item
.
photos
.
push
(...
value
.
fileNames
)
}
else
{
// 俺安卓机 返回字符串
}
else
{
// 俺安卓机 返回字符串
item
.
photos
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
item
.
photos
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
...
...
src/_consumer_home.js
View file @
d49666da
...
@@ -130,7 +130,7 @@ window.addEventListener("load", function () {
...
@@ -130,7 +130,7 @@ window.addEventListener("load", function () {
success
:
function
(
value
)
{
success
:
function
(
value
)
{
console
.
log
(
value
,
'
chooseFileUploadTest图片上传回调
'
)
console
.
log
(
value
,
'
chooseFileUploadTest图片上传回调
'
)
if
(
value
){
if
(
value
){
if
(
gemhoUtil
.
isIOSStrict
()){
// ios直接返回对象
if
(
gemhoUtil
.
isIOSStrict
()
||
gemhoUtil
.
isHarmonyOS
()
){
// ios直接返回对象
VUE
.
formData
.
photos
.
push
(...
value
.
fileNames
)
VUE
.
formData
.
photos
.
push
(...
value
.
fileNames
)
}
else
{
// 俺安卓机 返回字符串
}
else
{
// 俺安卓机 返回字符串
VUE
.
formData
.
photos
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
VUE
.
formData
.
photos
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
...
...
src/_peixun_yanlian_detail-anquan.js
View file @
d49666da
...
@@ -183,7 +183,7 @@ window.addEventListener("load", function() {
...
@@ -183,7 +183,7 @@ window.addEventListener("load", function() {
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
if
(
value
){
if
(
value
){
// VUE.formData.images.push(...JSON.parse(value).fileNames)
// VUE.formData.images.push(...JSON.parse(value).fileNames)
if
(
gemhoUtil
.
isIOSStrict
()){
// ios直接返回对象
if
(
gemhoUtil
.
isIOSStrict
()
||
gemhoUtil
.
isHarmonyOS
()
){
// ios直接返回对象
VUE
.
formData
.
images
.
push
(...
value
.
fileNames
)
VUE
.
formData
.
images
.
push
(...
value
.
fileNames
)
}
else
{
// 俺安卓机 返回字符串
}
else
{
// 俺安卓机 返回字符串
VUE
.
formData
.
images
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
VUE
.
formData
.
images
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
...
...
src/_peixun_yanlian_detail-yingji.js
View file @
d49666da
...
@@ -150,7 +150,7 @@ window.addEventListener("load", function() {
...
@@ -150,7 +150,7 @@ window.addEventListener("load", function() {
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
if
(
value
){
if
(
value
){
// VUE.formData.images.push(...JSON.parse(value).fileNames)
// VUE.formData.images.push(...JSON.parse(value).fileNames)
if
(
gemhoUtil
.
isIOSStrict
()){
// ios直接返回对象
if
(
gemhoUtil
.
isIOSStrict
()
||
gemhoUtil
.
isHarmonyOS
()
){
// ios直接返回对象
VUE
.
formData
.
images
.
push
(...
value
.
fileNames
)
VUE
.
formData
.
images
.
push
(...
value
.
fileNames
)
}
else
{
// 俺安卓机 返回字符串
}
else
{
// 俺安卓机 返回字符串
VUE
.
formData
.
images
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
VUE
.
formData
.
images
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
...
...
src/_tezhongzuoye_detail.js
View file @
d49666da
...
@@ -345,7 +345,7 @@ window.addEventListener("load", function () {
...
@@ -345,7 +345,7 @@ window.addEventListener("load", function () {
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
console
.
log
(
'
chooseFileUpload方法
'
,
value
)
if
(
value
)
{
if
(
value
)
{
// VUE.formData.attachmentFile.push(...JSON.parse(value).fileNames)
// VUE.formData.attachmentFile.push(...JSON.parse(value).fileNames)
if
(
gemhoUtil
.
isIOSStrict
()){
// ios直接返回对象
if
(
gemhoUtil
.
isIOSStrict
()
||
gemhoUtil
.
isHarmonyOS
()
){
// ios直接返回对象
VUE
.
formData
.
attachmentFile
.
push
(...
value
.
fileNames
)
VUE
.
formData
.
attachmentFile
.
push
(...
value
.
fileNames
)
}
else
{
// 俺安卓机 返回字符串
}
else
{
// 俺安卓机 返回字符串
VUE
.
formData
.
attachmentFile
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
VUE
.
formData
.
attachmentFile
.
push
(...
JSON
.
parse
(
value
).
fileNames
)
...
...
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