Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_move
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
胡宝山
template_move
Commits
d2a1730f
Commit
d2a1730f
authored
Nov 14, 2024
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题一:图片上传修复
parent
1c50e471
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
index.vue
src/views/query/index.vue
+7
-2
No files found.
src/views/query/index.vue
View file @
d2a1730f
...
...
@@ -248,6 +248,7 @@ export default {
name
:
"index"
,
data
()
{
return
{
imgUrlForm
:{
url
:
''
},
dialogVisible
:
false
,
dialogImageUrl
:
''
,
// 管理字典
...
...
@@ -331,7 +332,9 @@ export default {
tokenMsg
:
getToken
()
}
this
.
$WebView
.
openCameraAll
(
params
).
then
(
res
=>
{
this
.
fileList
.
push
(
JSON
.
parse
(
res
))
this
.
imgUrlForm
=
JSON
.
parse
(
res
)
console
.
log
(
'打印的图片路径shiwu'
,
this
.
imgUrlForm
)
this
.
fileList
.
push
(
this
.
imgUrlForm
)
})
},
handlePpenCameraAll2
()
{
...
...
@@ -340,7 +343,9 @@ export default {
tokenMsg
:
getToken
()
}
this
.
$WebView
.
openCameraAll
(
params
).
then
(
res
=>
{
this
.
fileList
.
push
(
JSON
.
parse
(
res
))
this
.
imgUrlForm
=
JSON
.
parse
(
res
)
console
.
log
(
'打印的图片路径mp'
,
this
.
imgUrlForm
)
this
.
fileList
.
push
(
this
.
imgUrlForm
)
})
},
handlePreview
(
file
)
{
...
...
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