9.25
This commit is contained in:
parent
8883dded38
commit
2bc546e90f
@ -2218,14 +2218,13 @@ Page({
|
||||
fileList_inf.push({ url: url,type:'image',isImage: true });
|
||||
THIS.setData({ fileList_inf});
|
||||
}else if(name.indexOf("record")!=-1){
|
||||
let {dpmas_list}=THIS.data;
|
||||
// let {dpmas_list}=THIS.data;
|
||||
let recordIndex=Number(name.split("record")[1]);
|
||||
console.log("recordIndex:"+recordIndex);
|
||||
let objArr="dpmas_list[" +recordIndex +"]"
|
||||
let obj="dpmas_list[" +recordIndex +"].fileList";
|
||||
let tempObj="dpmas_list[" +recordIndex +"].temp_list"
|
||||
try {
|
||||
if(!(dpmas_list[recordIndex])){
|
||||
if(!(THIS.data.dpmas_list[recordIndex])){
|
||||
THIS.setData({
|
||||
[objArr]:{fileList:[],treatTime:'',temp_list:[]}
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user