vue-cropper
Advanced tools
Comparing version 0.6.3 to 0.6.4
# 更新日志 | ||
## vue3.x组件更新日志 | ||
### v1.1.1 | ||
修复部分 base64 图片长度导致展示问题 | ||
### v1.1.0 | ||
@@ -35,2 +39,4 @@ - 修复 exif 读取图片出错的情况 | ||
## vue2.x组件更新日志 | ||
### v0.6.4 | ||
修复部分 base64 图片长度导致展示问题 | ||
### v0.6.3 | ||
@@ -37,0 +43,0 @@ - 修复 exif 读取图片出错的情况 |
@@ -76,3 +76,4 @@ const Exif = {}; | ||
var binary = atob(base64); | ||
var len = binary.length; | ||
// byte length of Uint16Array should be a multiple of 2 | ||
var len = binary.length % 2 == 0 ? binary.length : binary.length + 1; | ||
var buffer = new ArrayBuffer(len); | ||
@@ -79,0 +80,0 @@ var view = new Uint16Array(buffer); |
@@ -10,3 +10,3 @@ import VueCropper from './vue-cropper.vue' | ||
export const globalCropper: vueCropperGlobal = { | ||
version: '1.1.0', | ||
version: '1.1.1', | ||
install, | ||
@@ -13,0 +13,0 @@ VueCropper, |
{ | ||
"name": "vue-cropper", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A simple Vue picture clipping plugin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "vue-cropper", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "A simple Vue picture clipping plugin", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -143,3 +143,3 @@ # vue-cropper | ||
fixed | 是否开启截图框宽高固定比例 | `false` | `true`, `false` | ||
fixedNumber | 截图框的宽高比例 | `[1, 1]` | `[ 宽度 , 高度 ]` | ||
fixedNumber | 截图框的宽高比例, 开启`fixed`生效 | `[1, 1]` | `[ 宽度 , 高度 ]` | ||
full | 是否输出原图比例的截图 | `false` | `true`, `false` | ||
@@ -146,0 +146,0 @@ fixedBox | 固定截图框大小 | 不允许改变 | `false` | `true`, `false` |
@@ -76,3 +76,4 @@ const Exif = {}; | ||
var binary = atob(base64); | ||
var len = binary.length; | ||
// byte length of Uint16Array should be a multiple of 2 | ||
var len = binary.length % 2 == 0 ? binary.length : binary.length + 1; | ||
var buffer = new ArrayBuffer(len); | ||
@@ -79,0 +80,0 @@ var view = new Uint16Array(buffer); |
@@ -15,3 +15,3 @@ import VueCropper from './vue-cropper' | ||
export default { | ||
version: '0.6.3', | ||
version: '0.6.4', | ||
install, | ||
@@ -18,0 +18,0 @@ VueCropper, |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
447062
2046