Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
supervisor-miniprogram
This project
Loading...
Sign in
Toggle navigation
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 08a250c8
authored
May 28, 2026
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新图片选择源类型,支持相册和相机
1 parent
7b0d0642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
packageCrew/pages/mentoring/mentoring.js
packageCrew/pages/mentoring/mentoring.js
View file @
08a250c
...
@@ -417,7 +417,7 @@ Page({
...
@@ -417,7 +417,7 @@ Page({
let
{
orderObj
}
=
_this
.
data
let
{
orderObj
}
=
_this
.
data
wx
.
chooseImage
({
wx
.
chooseImage
({
count
:
1
,
count
:
1
,
sourceType
:
[
'camera'
],
sourceType
:
[
'
album'
,
'
camera'
],
success
(
res
)
{
success
(
res
)
{
let
[
tempFiles
]
=
res
.
tempFilePaths
let
[
tempFiles
]
=
res
.
tempFilePaths
for
(
const
file
of
res
.
tempFiles
)
{
for
(
const
file
of
res
.
tempFiles
)
{
...
...
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