zxl
2025-05-23 5d5b0f7ab0f34019e11901ddcd59cd8b51ea9ff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import Base from './base'
 
/**
 * 好友邀请消息处理
 */
class GroupJoin extends Base {
  /**
   * @var resource 资源
   */
  resource
 
  /**
   * 初始化构造方法
   *
   * @param {Object} resource Socket消息
   */
  constructor(resource) {
    super()
 
    this.resource = resource
  }
 
  handle() {
    this.$notify({
      message: '您有一条入群消息通知,请注意查收...',
      duration: 5000,
    })
  }
}
 
export default GroupJoin