|
@@ -125,7 +125,7 @@
|
|
const {
|
|
const {
|
|
tempFilePaths,
|
|
tempFilePaths,
|
|
tempFiles
|
|
tempFiles
|
|
- } = e
|
|
|
|
|
|
+ } = e
|
|
tempFiles.forEach((item,index)=>{
|
|
tempFiles.forEach((item,index)=>{
|
|
upLoadImageHandler({ filePath: tempFilePaths[index],name:item.name})
|
|
upLoadImageHandler({ filePath: tempFilePaths[index],name:item.name})
|
|
})
|
|
})
|
|
@@ -144,7 +144,7 @@
|
|
console.log(selected.value)
|
|
console.log(selected.value)
|
|
console.log(selectedPhotos.value)
|
|
console.log(selectedPhotos.value)
|
|
console.log(photoList.value)
|
|
console.log(photoList.value)
|
|
- if (data.value.department ===null) {
|
|
|
|
|
|
+ if (data.value.departments ==null || (data.value.departments !=null &&data.value.departments.length ==0 ) ) {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
title: '请选择咨询部门'
|
|
title: '请选择咨询部门'
|