veplayer-mp-douyin
Advanced tools
Comparing version 1.2.3-alpha.15 to 1.2.4
@@ -46,7 +46,7 @@ "use strict"; | ||
// 优先判断是否是自定义控制栏状态 | ||
if (!customControls) { | ||
this.setData({ | ||
customControls: newVal !== 'native', | ||
}); | ||
} | ||
// if (!customControls) { | ||
this.setData({ | ||
customControls: newVal !== 'native', | ||
}); | ||
// } | ||
if (!videoId) { | ||
@@ -53,0 +53,0 @@ return; |
@@ -27,3 +27,3 @@ "use strict"; | ||
exports.PKG = 'douyin'; | ||
exports.VERSION = '1.2.3-alpha.15'; | ||
exports.VERSION = '1.2.4'; | ||
/** | ||
@@ -30,0 +30,0 @@ * 控制栏状态枚举 |
@@ -32,15 +32,15 @@ "use strict"; | ||
const { mode } = this.properties; | ||
let _mode = ''; | ||
let imageMode = ''; | ||
switch (mode) { | ||
case 'fill': | ||
_mode = 'scaleToFill'; | ||
imageMode = 'scaleToFill'; | ||
break; | ||
case 'cover': | ||
_mode = 'aspectFill'; | ||
imageMode = 'aspectFill'; | ||
break; | ||
default: | ||
_mode = 'aspectFit'; | ||
imageMode = 'aspectFit'; | ||
} | ||
this.setData({ | ||
imageMode: _mode, | ||
imageMode, | ||
}); | ||
@@ -47,0 +47,0 @@ }, |
{ | ||
"name": "veplayer-mp-douyin", | ||
"version": "1.2.3-alpha.15", | ||
"version": "1.2.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "miniprogramType": "tt-npm", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
161009