|
@@ -634,7 +634,7 @@ export default {
|
|
|
formData_s.append('file', f)
|
|
|
this.grid_xmind.push({ 'name': f.name, 'url': 'http://pt-starfile.didistatic.com/static/starfile/node/hjvKFStkqD1574316045070.xmind' })
|
|
|
// url (必须), init对象 (可选)
|
|
|
- fetch('http://star.xiaojukeji.com/upload/img.node', formData_s).then(function(res) {
|
|
|
+ fetch('http://star.xiaojukeji.com/upload/img.node', formData_s, { credentials: 'include' }).then(function(res) {
|
|
|
console.log(res)
|
|
|
return res.json()
|
|
|
}).catch(err => {
|