Commit 240f978f authored by liqin's avatar liqin 💬

bug fixed

parent a1487c51
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<div slot="footer" class="dialog-footer btn-group"> <div slot="footer" class="dialog-footer btn-group">
<el-button size="mini" @click="close">取 消</el-button> <el-button size="mini" @click="close">取 消</el-button>
<el-button size="mini" type="primary" @click="submitForm('formItem')">确定</el-button> <el-button size="mini" type="primary" @click="submitForm('formItem')">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
export default { export default {
data() { data() {
return { return {
uploadUrl:'http://192.168.110.67/mall/file/upload/allType', uploadUrl:'http://111.203.232.175:8088/mall/file/upload/allType',
formVisible: false, formVisible: false,
headers:{Authorization: localStorage.getItem('backToken')}, headers:{Authorization: localStorage.getItem('backToken')},
formItem: {}, formItem: {},
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.formItem.clearValidate() this.$refs.formItem.clearValidate()
}); });
}, },
// 关闭 // 关闭
close() { close() {
...@@ -174,4 +174,4 @@ export default { ...@@ -174,4 +174,4 @@ export default {
} }
} }
</style> </style>
\ No newline at end of file
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="title">app目录界面设置</div> <div class="title">app目录界面设置</div>
<div class="btn-group"> <div class="btn-group">
<el-upload <el-upload
action="http://192.168.110.67/mall/file/image/upload" action="http://111.203.232.175:8088/mall/file/image/upload"
:on-success="uploadPageImg" :on-success="uploadPageImg"
:before-upload="handleBeforeUpload" :before-upload="handleBeforeUpload"
:headers ="headers" :headers ="headers"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<div class="title">app运行画面设置</div> <div class="title">app运行画面设置</div>
<div class="btn-group"> <div class="btn-group">
<el-upload <el-upload
action="http://192.168.110.67/mall/file/image/upload" action="http://111.203.232.175:8088/mall/file/image/upload"
:on-success="uploadRunImg" :on-success="uploadRunImg"
:before-upload="handleBeforeUpload" :before-upload="handleBeforeUpload"
:headers ="headers" :headers ="headers"
...@@ -413,4 +413,4 @@ export default { ...@@ -413,4 +413,4 @@ export default {
} }
} }
} }
</style> </style>
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" --> <!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" --> <!-- :show-file-list="false" -->
<!-- :file-list="fileList" --> <!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" --> <!-- action="http://111.203.232.175:8088/mall/file/video/content/upload" -->
<el-upload <el-upload
ref="upload" ref="upload"
:multiple="true" :multiple="true"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" --> <!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" --> <!-- :show-file-list="false" -->
<!-- :file-list="fileList" --> <!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" --> <!-- action="http://111.203.232.175:8088/mall/file/video/content/upload" -->
<el-upload <el-upload
ref="upload" ref="upload"
:multiple="true" :multiple="true"
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" --> <!-- accept="application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" -->
<!-- :show-file-list="false" --> <!-- :show-file-list="false" -->
<!-- :file-list="fileList" --> <!-- :file-list="fileList" -->
<!-- action="http://192.168.110.67/mall/file/video/content/upload" --> <!-- action="http://111.203.232.175:8088/mall/file/video/content/upload" -->
<el-upload <el-upload
ref="upload" ref="upload"
:multiple="true" :multiple="true"
...@@ -64,7 +64,7 @@ export default { ...@@ -64,7 +64,7 @@ export default {
// let newArray = data.map((item) => { // let newArray = data.map((item) => {
// return item.id; // return item.id;
// }) // })
// this.$emit('videoList', newArray) // this.$emit('videoList', newArray)
const data = resData.data.fileList; const data = resData.data.fileList;
......
<template> <template>
<div> <div>
<el-upload <el-upload
action="http://192.168.110.67/mall/file/image/upload" action="http://111.203.232.175:8088/mall/file/image/upload"
list-type="picture-card" list-type="picture-card"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
:on-remove="handleRemove" :on-remove="handleRemove"
......
<template> <template>
<div> <div>
<el-upload <el-upload
action="http://192.168.110.67/mall/file/image/upload" action="http://111.203.232.175:8088/mall/file/image/upload"
list-type="picture-card" list-type="picture-card"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
:on-remove="handleRemove" :on-remove="handleRemove"
...@@ -65,4 +65,4 @@ export default { ...@@ -65,4 +65,4 @@ export default {
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
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