修复路由传参的值传送到jinput框被前后各截取了一位

pull/1336/head
wcdsdy 5 years ago
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:
//修复路由传参的值传送到jinput框被前后各截取了一位
if(text.indexOf("*") != -1){
text = text.substring(1,text.length-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…
Cancel
Save