- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
JInput
        xinwu-yang edited this page Mar 1, 2023 
        ·
        1 revision
      
    特殊查询组件,支持模糊查询、大于等于查询、小于等于查询、不匹配查询
<template>
	<j-input placeholder="请输入账号模糊查询" v-model="username"></j-input>
</template>
<script>
	export default {
    data() {
      return {
        username: ''
      }
    }
  }
</script>| 属性 | 说明 | 类型 | 必填 | 默认值 | 
|---|---|---|---|---|
| placeholder | 默认文字 | string | ||
| trim | 是否去空格 | boolean | false | |
| type | 查询类型['like','ne','ge','le'] 分别是模糊、不等于、大于、小于。设置type="",即为等于查询。 | string | 'like' | 
| 事件名称 | 说明 | 回调参数 | 
|---|---|---|
| change | 输入变化时调用 | function(value) |