mirror of https://github.com/jeecgboot/jeecg-boot
修复路由传参的值传送到jinput框被前后各截取了一位
parent
dadf6a78a1
commit
32ee9f040c
|
@ -56,7 +56,10 @@
|
||||||
let text = this.value
|
let text = this.value
|
||||||
switch (this.type) {
|
switch (this.type) {
|
||||||
case JINPUT_QUERY_LIKE:
|
case JINPUT_QUERY_LIKE:
|
||||||
text = text.substring(1,text.length-1);
|
//修复路由传参的值传送到jinput框被前后各截取了一位
|
||||||
|
if(text.indexOf("*") != -1){
|
||||||
|
text = text.substring(1,text.length-1);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case JINPUT_QUERY_NE:
|
case JINPUT_QUERY_NE:
|
||||||
text = text.substring(1);
|
text = text.substring(1);
|
||||||
|
|
Loading…
Reference in New Issue