修改安全、质量隐患
This commit is contained in:
parent
686cf0b04d
commit
1158fc557b
@ -50,7 +50,7 @@
|
||||
</view>
|
||||
<view class="uni-form-item">
|
||||
<view class="uni-form-label">
|
||||
<text class="star">*</text>附件
|
||||
<text class="star" v-if="type == 1">*</text>附件
|
||||
</view>
|
||||
<view class="uni-form-input imgBox_wrap">
|
||||
<view class="imgBox" v-show="fileList.length>0" v-for="(item,index) in fileList" :key="index">
|
||||
@ -278,7 +278,7 @@ import dateTimePiccker from '@/components/dateTimePicker/index.vue'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (this.fileList.length == 0) {
|
||||
if (this.fileList.length == 0 && this.type == 1) {
|
||||
uni.showToast({
|
||||
title: "请上传附件",
|
||||
icon: "none"
|
||||
|
||||
@ -50,7 +50,7 @@
|
||||
</view>
|
||||
<view class="uni-form-item">
|
||||
<view class="uni-form-label">
|
||||
<text class="star">*</text>附件
|
||||
<text class="star" v-if="type == 1">*</text>附件
|
||||
</view>
|
||||
<view class="uni-form-input imgBox_wrap">
|
||||
<view class="imgBox" v-show="fileList.length>0" v-for="(item,index) in fileList" :key="index">
|
||||
@ -278,7 +278,7 @@ import dateTimePiccker from '@/components/dateTimePicker/index.vue'
|
||||
})
|
||||
return
|
||||
}
|
||||
if (this.fileList.length == 0) {
|
||||
if (this.fileList.length == 0 && this.type == 1) {
|
||||
uni.showToast({
|
||||
title: "请上传附件",
|
||||
icon: "none"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user