|
@@ -62,7 +62,7 @@ export default {
|
|
|
// this.$message('Please wait for all images to be uploaded successfully. If there is a network problem, please refresh the page and upload again!')
|
|
|
// return
|
|
|
// }
|
|
|
- console.log( "this.listObj", this.listObj)
|
|
|
+ // console.log( "this.listObj", this.listObj)
|
|
|
this.$emit('successCBK', arr)
|
|
|
this.listObj = {}
|
|
|
this.fileList = []
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
hasSuccess: true,
|
|
|
width: file.width,
|
|
|
height: file.height,
|
|
|
- url : "http://smoa.ndjsxh.cn:8888/api/preview/"+ uid
|
|
|
+ url : "http://smoa.ndjsxh.cn:8888/preview/"+ uid
|
|
|
// url : "http://localhost:8000/api/preview/"+ uid
|
|
|
}
|
|
|
},
|
|
@@ -93,9 +93,6 @@ export default {
|
|
|
const _self = this
|
|
|
const _URL = window.URL || window.webkitURL
|
|
|
const fileName = file.uid
|
|
|
-
|
|
|
-
|
|
|
- this.listObj[fileName] = {}
|
|
|
return new Promise((resolve, reject) => {
|
|
|
const img = new Image()
|
|
|
img.src = _URL.createObjectURL(file)
|