|
@@ -245,6 +245,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
submitUpload() {
|
|
|
+ // this.fileDbList = [{ name: '智慧平台.png', url: 'http://pt-starimg.didistatic.com/static/starimg/node/qo4sKioLko1571277086594.png' }, { name: '智慧平台.png', url: 'http://pt-starimg.didistatic.com/static/starimg/node/qo4sKioLko1571277086594.png' }]
|
|
|
+ // localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
this.$refs.upload.submit()
|
|
|
},
|
|
|
handleChange(response, file, fileList) {
|
|
@@ -255,7 +257,6 @@ export default {
|
|
|
this.fileDbList.push({ 'name': a.name, 'url': 'http:' + a.response.url })
|
|
|
}
|
|
|
localStorage.setItem('updata', JSON.stringify(this.fileDbList))
|
|
|
- console.log(localStorage.getItem('updata'))
|
|
|
// }, 500)
|
|
|
},
|
|
|
async bugListSelect() {
|