Commit b4a2a84d authored by 罗超's avatar 罗超

解决乱码问题

parent adb73684
......@@ -23,7 +23,7 @@ export default class HtmlUtil {
}
// 3.使用正则实现html编码
static htmlEncodeByRegExp = (str:string)=> {
var s = '';
var s = str;
if(str.length === 0) {
return '';
}
......
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