File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed
modules/integration/components
premium/eagle-eye/components Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 159
159
>
160
160
<el-form-item >
161
161
<app-autocomplete-one-input
162
+ v-model =" twitter.hashtags[0]"
162
163
:fetch-fn =" () => []"
163
164
:create-fn =" createTwitterHashtag"
164
- :value =" twitter.hashtags[0]"
165
165
:allow-create =" true"
166
166
class =" mt-2"
167
167
placeholder =" Type to select hashtag"
@@ -401,12 +401,6 @@ export default {
401
401
return { id: value, label: ` #${ value} ` }
402
402
},
403
403
404
- handleTwitterHashtagsInput (hashtag ) {
405
- this .$nextTick (() => {
406
- this .twitter .hashtags = [hashtag]
407
- })
408
- },
409
-
410
404
statusToString (status ) {
411
405
if (status === ' done' ) {
412
406
return ' Active'
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ export default {
175
175
176
176
& -text {
177
177
@apply text-sm text-gray- 600;
178
+
179
+ pre ,
180
+ code {
181
+ @apply whitespace-pre-wrap ;
182
+ }
178
183
}
179
184
}
180
185
}
Original file line number Diff line number Diff line change 28
28
@input =" inputKeyword"
29
29
@keydown.delete.stop =" removeLastKeyword"
30
30
@keydown =" addNew"
31
- @blur =" addNew "
31
+ @blur =" blur "
32
32
/>
33
33
</div >
34
34
<span
@@ -88,6 +88,10 @@ export default {
88
88
inputKeyword (ev ) {
89
89
this .newKeyword = ev .target .value
90
90
},
91
+ blur (e ) {
92
+ this .focused = false
93
+ this .addNew (e)
94
+ },
91
95
addNew (e ) {
92
96
if (
93
97
e &&
@@ -116,7 +120,6 @@ export default {
116
120
this .keywordChange ()
117
121
this .newKeyword = ' '
118
122
}
119
- this .focused = false
120
123
},
121
124
addKeyword (keyword ) {
122
125
keyword = keyword .trim ()
@@ -162,6 +165,7 @@ export default {
162
165
.el-tag {
163
166
margin : 4px 0 4px 4px ;
164
167
}
168
+
165
169
& .is-focus {
166
170
border : 1px solid #0068bd ;
167
171
}
You can’t perform that action at this time.
0 commit comments