Open citrusjunoss opened 1 year ago
我也出现这情况,在服务端无法使用app.$cookies.remove无法生效
@microcipcip
if(isClient) { removeToken('f_token') }else { console.log('run in server') app.$cookies.remove('f_token') } console.log(app.$cookies.get('f_token'), 789)
try it app.$cookies.set('f_token', '', { maxAge: -1, })