Commit e6c7ea5f by 袁晓帅

修改图片不能上传的问题

parent 28a1f353
......@@ -58,7 +58,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleadd"
......@@ -95,7 +95,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleedit"
......
......@@ -54,7 +54,7 @@
<el-upload
v-loading="loading"
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handlevideoSuccess"
......@@ -71,7 +71,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleAvatarSuccess"
......@@ -105,7 +105,7 @@
<el-upload
v-loading="loading"
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handlevideoedit"
......@@ -122,7 +122,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleAvataredit"
......
......@@ -106,7 +106,7 @@
<div>
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:headers="headers"
:show-file-list="false"
:on-success="handleAvatarSuccess"
......
......@@ -48,7 +48,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:headers="headers"
:show-file-list="false"
:on-success="handleAvatarSuccess"
......@@ -80,7 +80,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:headers="headers"
:show-file-list="false"
:on-success="handleAvataredit"
......
......@@ -53,7 +53,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleAvatarSuccess"
......@@ -85,7 +85,7 @@
<div style="display: flex;flex-direction: column;">
<el-upload
class="avatar-uploader"
action="http://39.97.169.207:9200/baseInfo/uploadPhoto"
:action="this.baseURL + '/baseInfo/uploadPhoto'"
:show-file-list="false"
:headers="headers"
:on-success="handleAvataredit"
......
......@@ -47,7 +47,14 @@
</template>
</el-table-column>
</el-table>
<pagination v-if="showpage" @pageSize="currentSize" @pageNum="currentPage" :totalNum="totalNum"></pagination>
<div class="block text-right mt10" v-if="showpage">
<el-pagination
@size-change="currentSize"
@current-change="currentPage"
layout="total, prev, pager, next, jumper"
:total="totalNum">
</el-pagination>
</div>
</div>
</div>
<el-dialog :title="title" :visible.sync="editdialogVisible" width="40%">
......@@ -68,9 +75,9 @@
</div>
</template>
<script>
import pagination from '../../BasePagination.vue';
// import pagination from '../../BasePagination.vue';
export default {
components: { pagination },
// components: { pagination },
data: () => ({
loading: false,
showpage: true,
......
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 sign in to comment