修复:图片预览 滑动关闭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
+1 -1
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;
}
});
+1 -1
View File
@@ -52,7 +52,7 @@ import TreeSelect from './tree-select';
import Uploader from './uploader';
import Waterfall from './waterfall';
const version = '0.9.4';
const version = '0.9.5';
const components = [
Actionsheet,
Area,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vant-css",
"version": "0.9.4",
"version": "0.9.5",
"description": "vant css.",
"main": "lib/index.css",
"style": "lib/index.css",