File tree Expand file tree Collapse file tree
modules/integration/components
premium/eagle-eye/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 159159 >
160160 <el-form-item >
161161 <app-autocomplete-one-input
162+ v-model =" twitter.hashtags[0]"
162163 :fetch-fn =" () => []"
163164 :create-fn =" createTwitterHashtag"
164- :value =" twitter.hashtags[0]"
165165 :allow-create =" true"
166166 class =" mt-2"
167167 placeholder =" Type to select hashtag"
@@ -401,12 +401,6 @@ export default {
401401 return { id: value, label: ` #${ value} ` }
402402 },
403403
404- handleTwitterHashtagsInput (hashtag ) {
405- this .$nextTick (() => {
406- this .twitter .hashtags = [hashtag]
407- })
408- },
409-
410404 statusToString (status ) {
411405 if (status === ' done' ) {
412406 return ' Active'
Original file line number Diff line number Diff line change @@ -175,6 +175,11 @@ export default {
175175
176176 & -text {
177177 @apply text-sm text-gray- 600;
178+
179+ pre ,
180+ code {
181+ @apply whitespace-pre-wrap ;
182+ }
178183 }
179184 }
180185}
Original file line number Diff line number Diff line change 2828 @input =" inputKeyword"
2929 @keydown.delete.stop =" removeLastKeyword"
3030 @keydown =" addNew"
31- @blur =" addNew "
31+ @blur =" blur "
3232 />
3333 </div >
3434 <span
@@ -88,6 +88,10 @@ export default {
8888 inputKeyword (ev ) {
8989 this .newKeyword = ev .target .value
9090 },
91+ blur (e ) {
92+ this .focused = false
93+ this .addNew (e)
94+ },
9195 addNew (e ) {
9296 if (
9397 e &&
@@ -116,7 +120,6 @@ export default {
116120 this .keywordChange ()
117121 this .newKeyword = ' '
118122 }
119- this .focused = false
120123 },
121124 addKeyword (keyword ) {
122125 keyword = keyword .trim ()
@@ -162,6 +165,7 @@ export default {
162165 .el-tag {
163166 margin : 4px 0 4px 4px ;
164167 }
168+
165169 & .is-focus {
166170 border : 1px solid #0068bd ;
167171 }
You can’t perform that action at this time.
0 commit comments