修复:图片预览 滑动关闭bug (#134)

* fix: 关闭image preview
This commit is contained in:
Yao
2017-09-15 21:13:52 +08:00
committed by GitHub
parent 8556772d8a
commit 5963eedb1a
5 changed files with 53 additions and 400 deletions

View File

@@ -101,7 +101,7 @@ export default {
});
container.addEventListener('touchend', () => {
/* istanbul ignore else */
if (new Date() - touchStartTime < 1500) {
if (new Date() - touchStartTime < 100) {
this.value = false;
}
});