diff --git a/static/js/project/listingItems/bond.js b/static/js/project/listingItems/bond.js index c53d1df..5928c11 100644 --- a/static/js/project/listingItems/bond.js +++ b/static/js/project/listingItems/bond.js @@ -14,8 +14,8 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi',"cupload"], function tools.doGet(friendsLinks, {}, module.bottomFriendsLinks, true); document.getElementById('realName').value = tools.getCookie('userName'); document.getElementById('userNum').value = tools.getCookie('phone'); - document.getElementById('userBank').value == null ? '': tools.getCookie('bankAddress'); - document.getElementById('bankId').value == null ? '':tools.getCookie('bankCardNum'); + document.getElementById('userBank').value = tools.getCookie('bankAddress'); + document.getElementById('bankId').value = tools.getCookie('bankCardNum'); document.getElementById('idCard').value = tools.getCookie('idCardNum'); //项目基本信息 tools.doGet(outProject + '/id/'+getQueryVariable('id'), {}, module.outProjectInformation,true);