//修改html特殊字符转换方法名
escapIntypeHtml
This commit is contained in:
@@ -323,7 +323,7 @@ function filterActionInit() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
/*******配置界面中下拉选择检索条件,js使用el表达式赋值时存在html特殊字符未转换问题*********/
|
/*******配置界面中下拉选择检索条件,js使用el表达式赋值时存在html特殊字符未转换问题*********/
|
||||||
function escapeIntypeHtml(){
|
function escapIntypeHtml(){
|
||||||
//首先使用html()方法将检索内容特殊字符转换,再次使用text()将转换后的正常字符串赋值给intype
|
//首先使用html()方法将检索内容特殊字符转换,再次使用text()将转换后的正常字符串赋值给intype
|
||||||
$("#intype").val($("#intype").html($("#intype").val()).text());
|
$("#intype").val($("#intype").html($("#intype").val()).text());
|
||||||
$("#intype").html('');
|
$("#intype").html('');
|
||||||
|
|||||||
Reference in New Issue
Block a user