Commit 4e236522 authored by 杨梦雪's avatar 杨梦雪

支付转账的截图bug

parent 583fbf56
...@@ -281,6 +281,7 @@ export default { ...@@ -281,6 +281,7 @@ export default {
disabled: false, //限制输入框 disabled: false, //限制输入框
hideUpload: false, hideUpload: false,
limitCount: 1, limitCount: 1,
isBank_infoFile:false,
}; };
}, },
created() { created() {
...@@ -291,8 +292,12 @@ export default { ...@@ -291,8 +292,12 @@ export default {
let bank_infoFile = window.localStorage.getItem( let bank_infoFile = window.localStorage.getItem(
"bank_info" + window.localStorage.getItem("phone" + code) + code "bank_info" + window.localStorage.getItem("phone" + code) + code
); );
console.log(bank_infoFile, "bank_infoFile"); JSON.parse(bank_infoFile).map((i)=>{
if (bank_infoFile && JSON.parse(bank_infoFile).length > 0) { if(i.url!=''){
this.isBank_infoFile=true
}
})
if (bank_infoFile &&this.isBank_infoFile==true&& JSON.parse(bank_infoFile).length > 0) {
console.log(JSON.parse(bank_infoFile)); console.log(JSON.parse(bank_infoFile));
this.fileList = JSON.parse(bank_infoFile); this.fileList = JSON.parse(bank_infoFile);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment