修改读取资源文件功能

main
admin 3 months ago
parent 28f621551a
commit e52ecaeecb

@ -1061,10 +1061,12 @@ public class CommonUtil {
str_res = str_res.replace("$" + i + "$", value[i].toString()); str_res = str_res.replace("$" + i + "$", value[i].toString());
} }
} }
if("".equals(str_res))
str_res = defaultInfo;
} catch (Exception ex) { } catch (Exception ex) {
return defaultInfo; return itemName+":转换异常!";
} }
return str_res; return itemName+":"+str_res;
} }
/** /**

Loading…
Cancel
Save