Browse Source

[bug]follow input req filter

A\An 2 năm trước cách đây
mục cha
commit
304301a7ee
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/view/iframe/publish/components/follow-input.vue

+ 3 - 0
src/view/iframe/publish/components/follow-input.vue

@@ -220,6 +220,9 @@ const rectClick = (event) => {
 }
 
 const getTwitterUsers = (query, cb) => {
+    if(query.indexOf('@') > -1) {
+        return;
+    }
     searchTwitterUser({
         params: {
             name : query