|
@@ -889,7 +889,6 @@ export default {
|
|
|
span: 12
|
|
|
}
|
|
|
},
|
|
|
- noImgUrl: require('@/assets/img/noImg.png'),
|
|
|
queryParam: {},
|
|
|
dataElse: [],
|
|
|
ascription: {
|
|
@@ -1478,74 +1477,6 @@ export default {
|
|
|
this.confirmLoading = true
|
|
|
this.repeat = false
|
|
|
this.$message.success('上传成功')
|
|
|
-
|
|
|
- // var img = null
|
|
|
- // img = new Image()
|
|
|
- // img.src = urlAll[0]
|
|
|
- // if (img.complete) {
|
|
|
- // // 打印
|
|
|
- // if (img.width == 720) {
|
|
|
- // if (img.height == 1280) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1080) {
|
|
|
- // if (img.height == 1920) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1280) {
|
|
|
- // if (img.height == 720) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1920) {
|
|
|
- // if (img.height == 1080) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // console.log(this.material)
|
|
|
- // } else {
|
|
|
- // // 加载完成执行
|
|
|
- // img.onload = function() {
|
|
|
- // // 打印
|
|
|
- // // alert('from:onload : width:' + img.width + ',height:' + img.height)
|
|
|
- // if (img.width == 720) {
|
|
|
- // if (img.height == 1280) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1080) {
|
|
|
- // if (img.height == 1920) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1280) {
|
|
|
- // if (img.height == 720) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else if (img.width == 1920) {
|
|
|
- // if (img.height == 1080) {
|
|
|
- // that.material.push(true)
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // } else {
|
|
|
- // that.material.push(false)
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
},
|
|
|
file(file) {
|
|
|
var bmf = new BMF()
|