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