Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有通过 watchState (当通过刷新令牌获取新令牌时)或任何其他类似方法观察令牌更改?我尝试了以下方法,但没有成功!
this.$auth.$storage.watchState('token', v => { console.log('token', v); });