We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e38f8 commit 8bead0fCopy full SHA for 8bead0f
src/plugin.js
@@ -61,7 +61,16 @@ export const init = (ctx, inject) => {
61
62
headers['Cookie'] = _.map(
63
ctx.app.$cookies.getAll(),
64
- (value, index) => index + '=' + JSON.stringify(value)
+ (value, index) => {
65
+ let resValue = value
66
+ if(typeof value === 'object') {
67
+ resValue = JSON.stringify(resValue)
68
+ }
69
+ if (typeof value === 'array') {
70
71
72
+ return index + '=' + resValue
73
74
).join(';')
75
76
operation.setContext({
0 commit comments