回复原装
This commit is contained in:
parent
2bc546e90f
commit
4076beccde
@ -2223,15 +2223,12 @@ Page({
|
|||||||
console.log("recordIndex:"+recordIndex);
|
console.log("recordIndex:"+recordIndex);
|
||||||
let objArr="dpmas_list[" +recordIndex +"]"
|
let objArr="dpmas_list[" +recordIndex +"]"
|
||||||
let obj="dpmas_list[" +recordIndex +"].fileList";
|
let obj="dpmas_list[" +recordIndex +"].fileList";
|
||||||
try {
|
|
||||||
if(!(THIS.data.dpmas_list[recordIndex])){
|
if(!(THIS.data.dpmas_list[recordIndex])){
|
||||||
THIS.setData({
|
THIS.setData({
|
||||||
[objArr]:{fileList:[],treatTime:'',temp_list:[]}
|
[objArr]:{fileList:[],treatTime:'',temp_list:[]}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} catch (error) {
|
|
||||||
|
|
||||||
}
|
|
||||||
THIS.setData({
|
THIS.setData({
|
||||||
[obj]:THIS.data.dpmas_list[recordIndex].fileList.concat([{ url: url,type:'image',isImage: true}])
|
[obj]:THIS.data.dpmas_list[recordIndex].fileList.concat([{ url: url,type:'image',isImage: true}])
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user