Fix #66
As mentioned in #66, I think we should provide a way to let us determine whether we should encode cookie's value or not.
And we should compatible with the previous operations, so we should encode the cookie's value by default. This patch provides two ways to cancel encode operation:
set default config: this.$cookies.config(expireTimes, path, domain, secure, sameSite, encodeValue);
Why is this still waiting? This is keeping people from using the package, which already is one of the only solutions to get cookies implemented in Vue. 🙁
Fix #66 As mentioned in #66, I think we should provide a way to let us determine whether we should encode cookie's value or not. And we should compatible with the previous operations, so we should encode the cookie's value by default. This patch provides two ways to cancel encode operation:
this.$cookies.config(expireTimes, path, domain, secure, sameSite, encodeValue)
;this.$cookies.encodeValue(true/false)
Signed-off-by: lifubang lifubang@acmcoder.com