Merge pull request #1336 from wcdsdy/master

修复路由传参的值传送到jinput框被前后各截取了一位
This commit is contained in:
JEECG开源社区
2020-08-28 13:51:09 +08:00
committed by GitHub

View File

@@ -56,7 +56,10 @@
let text = this.value
switch (this.type) {
case JINPUT_QUERY_LIKE:
//修复路由传参的值传送到jinput框被前后各截取了一位
if(text.indexOf("*") != -1){
text = text.substring(1,text.length-1);
}
break;
case JINPUT_QUERY_NE:
text = text.substring(1);