Comments (8)
headers: {cookie: 'xxxxx' }
from am-editor.
@yanmao-cc 这个不允许设置cookie
Refused to set unsafe header "cookie"
from am-editor.
https://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader%28%29-method
都试试看
https://indomi.github.io/2019/03/05/%E8%B7%A8%E5%9F%9Fcookie%E6%90%BA%E5%B8%A6%E5%AE%9E%E8%B7%B5/
"Cookie": document.cookie
from am-editor.
貌似不行
from am-editor.
貌似不行
是跨域cookie吧?跨域可以设置一些类似 Authoritarian 这样的请求头会好一点,要么就做个反向代理
from am-editor.
不是,我们的上传服务器需要进行登陆,而登陆依赖于cookie,所以就不行,之前使用 element 上传,他提供了 with-credentials
参数,设置允许发送 cookie,所以没有问题
from am-editor.
看代码这个选项没有开放出来,下一个版本解决吧
from am-editor.
OK,预计下个版本的时间点是什么时候
from am-editor.
Related Issues (20)
- ant 样式是否应该采用less导入?
- Table 插件 enableScrollbar 设置无效 HOT 2
- 多人协作只有光标有变化内容没有同步 HOT 1
- @aomao/plugin-link-vue version 2.10.1 不支持antdv 4.0.3 HOT 2
- 如何判断yjs已连接并且同步完数据了 HOT 1
- 是否可以提供一个添加评论的例子呀? HOT 15
- vue3 - 图片组件 视频组件 为啥每次输入内容的时候,图片组件和视频组件资源都会重新下载? HOT 4
- vue3 - 视频组件 编辑器输入内容发生变化的时候,视频组件资源都会重新下载?
- 协同编辑时,文档中有表格,最近出现表格没有加载出来这种情况
- 请教下使用协同表格偶现报错原因
- 自定义卡片渲染后没有data-id
- @插件选择后显示是正常的,但是重新编辑页面进来宽度0显示不出来 HOT 1
- @某个人的这个组件添加备注需要点两次才可以,我在官网点也是一样的
- vue有View阅读模式的例子吗,我这边View模式很多东西渲染不出来,比如表格、图片 HOT 1
- 将来是否支持导出docx、pdf这些功能? HOT 2
- 官网打开浏览器CPU占用100% 网页卡死 HOT 1
- image插件--- 能否支持图片剪裁能力。 HOT 6
- 在vue3环境使用评论的还原标记mark-range,wrap 失效并没有加载到编辑器里 HOT 3
- 复制纯文字, 编辑器卡死[致命bug] HOT 2
- 图片没有懒加载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from am-editor.