浏览代码

Merge branch 'dev_1.1.1' of https://git.yishihui.com/DeNet/de-net into dev_1.1.1

zhangwei 2 年之前
父节点
当前提交
47257ff9ec
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/logic/content/twitter.js

+ 8 - 0
src/logic/content/twitter.js

@@ -762,6 +762,14 @@ export function initExecuteScript(changes) {
             init()
         }
     }
+    if (changes.userInfo) {
+        let item = JSON.parse(changes.userInfo.newValue)
+        if (item) {
+            checkUserJoinGroup(() => {
+                showNFTGroupIcon()
+            })
+        }
+    }
 }
 
 const createNFTIframe = ({ url, id }, callback) => {