Bin Geng

Results 3 comments of Bin Geng

> if(process.browser) { vueCropper = require('vue-cropper') Vue.use(vueCropper.default) } 我按照文档配置是这样的 # /plugins/cropper.js配置 ![cropper](https://user-images.githubusercontent.com/53421034/169269256-15097e2c-f045-4868-b43b-2ea4b0b20eeb.png) # nuxt.config.js配置 ![nuxt](https://user-images.githubusercontent.com/53421034/169269265-2e8b4457-412c-4175-adc9-cfb1bfeb5ed7.png) # 运行结果 ![error](https://user-images.githubusercontent.com/53421034/169269261-87ded504-dd03-4681-92c9-a45a5f7a7092.png)

SameSite set to none is valid ``` throw new TypeError('option sameSite is invalid'); ^ TypeError: option sameSite is invalid at Object.serialize (D:\work_content\ltd\blog-backend\node_modules\express\node_modules\cookie\index.js:174:15) at ServerResponse.res.cookie (D:\work_content\ltd\blog-backend\node_modules\express\lib\response.js:853:36) at D:\work_content\ltd\blog-backend\routes\users.js:86:7 at processTicksAndRejections (node:internal/process/task_queues:96:5)...

> Hey @MygengBin From the changelog I don't think there is any change to SameSite attribute within this version so the issue may be unrelated. > > 1. How can...