Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 21d585e4
authored
Jan 13, 2025
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
图片不能上传
1 parent
d7c1602f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
8 deletions
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
tabWorkOrder/pages/supervisorDaily/supervisorDaily.js
View file @
21d585e
...
@@ -201,13 +201,6 @@ Page({
...
@@ -201,13 +201,6 @@ Page({
})
})
},
},
beforeUpload
()
{
const
{
disable
}
=
event
.
currentTarget
.
dataset
if
(
disable
)
{
return
true
}
},
// 图片上传
// 图片上传
upLoad
(
event
)
{
upLoad
(
event
)
{
let
_this
=
this
let
_this
=
this
...
...
tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxml
View file @
21d585e
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<view slot='trainingPhotos' class="trainingPhotos">
<view slot='trainingPhotos' class="trainingPhotos">
<view class="example-tips">线下培训上传「与会人员照片」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianxia">示例</text></view>
<view class="example-tips">线下培训上传「与会人员照片」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianxia">示例</text></view>
<view class="example-tips">线上培训上传「会议上线截图」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianshang">示例</text></view>
<view class="example-tips">线上培训上传「会议上线截图」<text class="example-btn" bind:tap="onClickShow" data-name="example-xianshang">示例</text></view>
<van-uploader class="plus" file-list="{{ imgObj.trainingPhotos }}" upload-text="上传照片" max-count="1" deletable="{{!disable}}" preview-size="var(--fontSize192)"
bind:before-read="beforeUpload
" bind:after-read="upLoad" bind:delete="handleDeleteImg" data-attr="trainingPhotos"></van-uploader>
<van-uploader class="plus" file-list="{{ imgObj.trainingPhotos }}" upload-text="上传照片" max-count="1" deletable="{{!disable}}" preview-size="var(--fontSize192)"
disabled="{{disable}}
" bind:after-read="upLoad" bind:delete="handleDeleteImg" data-attr="trainingPhotos"></van-uploader>
</view>
</view>
<!-- 工作总结 -->
<!-- 工作总结 -->
<view slot='todaySummary' class="meeting-box">
<view slot='todaySummary' class="meeting-box">
...
...
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