mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-06-08 20:43:17 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e39af9afd4 |
@@ -114,9 +114,6 @@
|
||||
|
||||
<script>
|
||||
import Emitter from '../../libs/utils/emitter.js'
|
||||
import {
|
||||
debounceFun
|
||||
} from '../../libs/function/applyEven.js'
|
||||
|
||||
export default {
|
||||
mixins: [Emitter],
|
||||
@@ -337,7 +334,7 @@
|
||||
/**
|
||||
* input事件
|
||||
*/
|
||||
handleInput:debounceFun(function(event){
|
||||
handleInput(event) {
|
||||
let value = event.detail.value
|
||||
// 是否需要去掉空格
|
||||
if (this.trim) value = this.$tn.string.trim(value)
|
||||
@@ -358,7 +355,7 @@
|
||||
// 发送当前的值到form-item进行校验
|
||||
this.dispatch('tn-form-item','on-form-change', value)
|
||||
}, 40)
|
||||
},this.blockTime),
|
||||
},
|
||||
/**
|
||||
* blur事件
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user