我想关闭浏览器的时候调用models/app里面的effect logout里面的unsubscribe。 unmountComponent应该写在哪里?才能调用 models/app里面的effect logout?
另一个回答, dva 如何监听关闭当前页面的事件?