Commit ad446987 by cwq0219

修改

1 parent b2ffe876
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
v-if="isEdit" v-if="isEdit"
class="upload-demo" class="upload-demo"
name="file" name="file"
:action="uploadAction" action="http://192.168.3.217:9220/file/upstring"
:limit="2" :limit="2"
:before-upload="beforeUpload" :before-upload="beforeUpload"
:on-success="handleSuccess" :on-success="handleSuccess"
...@@ -392,9 +392,10 @@ export default { ...@@ -392,9 +392,10 @@ export default {
const element = document.querySelector('.detail-basic') const element = document.querySelector('.detail-basic')
element.style.height = parseInt(this.$client_height() - 70) + 'px' element.style.height = parseInt(this.$client_height() - 70) + 'px'
this.hasLocation = false this.hasLocation = false
this.uploadAction = `${ // this.uploadAction = `${
this.$get_session_common_config().axios.fileUploadURL // this.$get_session_common_config().axios.fileUploadURL
}/gps/common/uploadFile` // }/gps/common/uploadFile`
// this.uploadAction = 'http://192.168.3.217:9220/file/upstring'
this.$root.eventBus.$on('params', (params) => { this.$root.eventBus.$on('params', (params) => {
this.activeName = 'first' this.activeName = 'first'
this.isVisible = false this.isVisible = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!