Commit 8d11165d authored by caimeng's avatar caimeng

上传的时候携带cookie

parent 02d6fe88
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
required required
> >
<el-upload <el-upload
:with-credentials="true"
class="avatar-uploader" class="avatar-uploader"
:action="uploadUrl" :action="uploadUrl"
list-type="picture-card" list-type="picture-card"
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
> >
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:with-credentials="true"
:action="uploadUrl" :action="uploadUrl"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
...@@ -76,6 +77,7 @@ ...@@ -76,6 +77,7 @@
> >
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:with-credentials="true"
:action="uploadUrl" :action="uploadUrl"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
...@@ -101,6 +103,7 @@ ...@@ -101,6 +103,7 @@
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:action="uploadUrl" :action="uploadUrl"
:with-credentials="true"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
:on-success="handleSuccessOffice" :on-success="handleSuccessOffice"
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:action="uploadUrl" :action="uploadUrl"
:with-credentials="true"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
:on-success="handleSuccessLogo" :on-success="handleSuccessLogo"
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:action="uploadUrl" :action="uploadUrl"
:with-credentials="true"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
:on-success="handleSuccessLogo" :on-success="handleSuccessLogo"
......
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<el-upload <el-upload
class="avatar-uploader" class="avatar-uploader"
:action="uploadUrl" :action="uploadUrl"
:with-credentials="true"
list-type="picture-card" list-type="picture-card"
:show-file-list="false" :show-file-list="false"
:on-success="handleSuccessLogo" :on-success="handleSuccessLogo"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment