Browse Source

[edit][注释]

zhangwei 2 năm trước cách đây
mục cha
commit
fd1759c1c8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/uilts/messageCenter/iframe/index.js

+ 1 - 1
src/uilts/messageCenter/iframe/index.js

@@ -54,12 +54,12 @@ class IframeMessageCenter {
 
             if (info.actionType && !item) {
                 key = info.actionType
-                // 序列删除 失败回调                
                 item = this.messageCallbackMap.get(key)
             }
 
             // 执行成功回调
             if (item) {
+                // 序列删除 失败回调      
                 this.messageFailbackMap.delete(key)
                 const callback = item.callback
                 callback(data)