中建365-二期开发-bug修复

develop
wlh 1 year ago
parent 65928255f2
commit b90ec080e1

@ -48,7 +48,7 @@ class EnterpriseInformationAdapter : BaseAdapter<EnterpriseInfoHomeBean>(R.layou
1->{ 1->{
if (!TextUtils.isEmpty(bean.fileUrl)){ if (!TextUtils.isEmpty(bean.fileUrl)){
filePath = FileDownloadUtils.getDefaultSaveRootPath() + File.separator + "zj365" + File.separator + "${bean.title}.word" filePath = FileDownloadUtils.getDefaultSaveRootPath() + File.separator + "zj365" + File.separator + "${bean.title}.doc"
var file = File(filePath) var file = File(filePath)
if (file.exists()){ if (file.exists()){
file.delete() file.delete()
@ -124,6 +124,8 @@ class EnterpriseInformationAdapter : BaseAdapter<EnterpriseInfoHomeBean>(R.layou
"web_site_url", "web_site_url",
"${bean.fileUrl}" "${bean.fileUrl}"
) )
bundle.putBoolean("isShowTitle",true)
bundle.putString("title",bean.title)
RouteManager.goAct(ARouterUrl.H5_ACT,bundle) RouteManager.goAct(ARouterUrl.H5_ACT,bundle)
} }
} }

Loading…
Cancel
Save