Browse Source

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

pull/1336/head
wcdsdy 5 years ago
parent
commit
32ee9f040c
  1. 5
      ant-design-vue-jeecg/src/components/jeecg/JInput.vue

5
ant-design-vue-jeecg/src/components/jeecg/JInput.vue

@ -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);

Loading…
Cancel
Save