useCookie 接受一个key是cookie中的键名。 修改返回的state可直接修改cookie. 注意点. state等于undefined或者null可用于删除本地Cookie 例: state.value = undefined; ...
確定! 回上一頁