mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-09-26 01:48:44 +00:00
Merge pull request #1336 from wcdsdy/master
修复路由传参的值传送到jinput框被前后各截取了一位
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user