Merge pull request #1336 from wcdsdy/master

修复路由传参的值传送到jinput框被前后各截取了一位
pull/1705/head
JEECG开源社区 2020-08-28 13:51:09 +08:00 committed by GitHub
commit e963603d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

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