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

develop
wlh 1 year ago
parent 4547893d65
commit 638318bdf9

@ -47,7 +47,7 @@ class EnterpriseInformationForTypeAct : BaseListAct<EnterpriseInformationVm>() {
when(bean.fileFormat){ // 格式1,word,2,pdf,3.文本4.excel,5.音频。6.链接
1->{
if (!TextUtils.isEmpty(bean.fileUrl)){
var filePath = FileDownloadUtils.getDefaultSaveRootPath() + File.separator + "zj365" + File.separator + "${bean.title}.word"
var filePath = FileDownloadUtils.getDefaultSaveRootPath() + File.separator + "zj365" + File.separator + "${bean.title}.doc"
var file = File(filePath)
if (file.exists()){
file.delete()

@ -193,6 +193,7 @@ class ElectronicFenceSettingAct : BaseVmAct<ElectronicFenceSettingVm>() {
super.onResume()
binding.map.onResume()
if(type == 0){
aMap?.clear()
mViewModel.getElectronicFenceList()
}
}

Loading…
Cancel
Save