提交 32ee9f04 编写于 作者: W wcdsdy

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

上级 dadf6a78
...@@ -56,7 +56,10 @@ ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册