File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ export default Vue.extend({
120120 dialog : false ,
121121 optionIndex : - 1 ,
122122 inputValue : '' ,
123- dialogFieldFocused : false ,
124- hasDialog : false
123+ dialogFieldFocused : false
125124 }
126125 } ,
127126
@@ -370,15 +369,14 @@ export default Vue.extend({
370369 keydown : this . __onTargetKeydown ,
371370 keyup : this . __onTargetKeyup ,
372371 keypress : this . __onTargetKeypress ,
373- focus : this . __selectInputText
372+ focus : this . __selectInputText ,
373+ click : e => {
374+ this . hasDialog === true && stop ( e )
375+ }
374376 }
375377
376378 on . compositionstart = on . compositionupdate = on . compositionend = this . __onComposition
377379
378- if ( this . hasDialog === true ) {
379- on . click = stop
380- }
381-
382380 return on
383381 }
384382 } ,
You can’t perform that action at this time.
0 commit comments