🌐 AI搜索 & 代理 主页
Skip to content

Commit 9b4dd5a

Browse files
committed
Update form-text.js
1 parent 1d32b62 commit 9b4dd5a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/mixins/form-text.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export const formTextMixin = Vue.extend({
102102
},
103103
watch: {
104104
[MODEL_PROP_NAME](newValue) {
105-
console.log('form-text: watch value', newValue)
106105
const stringifyValue = toString(newValue)
107106
const modifiedValue = this.modifyValue(newValue)
108107
if (stringifyValue !== this.localValue || modifiedValue !== this.vModelValue) {
@@ -150,7 +149,6 @@ export const formTextMixin = Vue.extend({
150149
return value
151150
},
152151
updateValue(value, force = false) {
153-
console.log('form-text: updateValue', value)
154152
const { lazy } = this
155153
if (lazy && !force) {
156154
return
@@ -199,9 +197,7 @@ export const formTextMixin = Vue.extend({
199197
return
200198
}
201199
const { value } = event.target
202-
console.log('form-text: onInput', event.target, value)
203200
const formattedValue = this.formatValue(value, event)
204-
console.log('form-text: onInput', formattedValue)
205201
// Exit when the `formatter` function strictly returned `false`
206202
// or prevented the input event
207203
/* istanbul ignore next */
@@ -216,7 +212,6 @@ export const formTextMixin = Vue.extend({
216212
onChange(event) {
217213
const { value } = event.target
218214
const formattedValue = this.formatValue(value, event)
219-
console.log('form-text: onChange', formattedValue)
220215
// Exit when the `formatter` function strictly returned `false`
221216
// or prevented the input event
222217
/* istanbul ignore next */
@@ -233,7 +228,6 @@ export const formTextMixin = Vue.extend({
233228
// on mobile browsers (e.g. caused by autocomplete)
234229
const { value } = event.target
235230
const formattedValue = this.formatValue(value, event, true)
236-
console.log('form-text: onBlur', formattedValue)
237231
if (formattedValue !== false) {
238232
// We need to use the modified value here to apply the
239233
// `.trim` and `.number` modifiers properly

0 commit comments

Comments
 (0)