|
@@ -648,9 +648,6 @@ export default {
|
|
this.$toast('上传图片大小不能超过 5MB')
|
|
this.$toast('上传图片大小不能超过 5MB')
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
- fileUtil.getOrientation(file).then((orient) => {
|
|
|
|
- console.log(orient)
|
|
|
|
- })
|
|
|
|
// return new Promise((resolve) => {
|
|
// return new Promise((resolve) => {
|
|
// fileUtil.getOrientation(file).then((orient) => {
|
|
// fileUtil.getOrientation(file).then((orient) => {
|
|
// console.log(orient)
|
|
// console.log(orient)
|