From a1d95e685cc5d839d15b0db4656a53e6690ee96b Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 6 Jul 2021 17:46:15 +0800 Subject: [PATCH] chore: release @vant/touch-emulator@1.3.1 (#8987) --- packages/vant-touch-emulator/README.md | 8 ++++++++ packages/vant-touch-emulator/changelog.md | 6 ++++++ packages/vant-touch-emulator/package.json | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/packages/vant-touch-emulator/README.md b/packages/vant-touch-emulator/README.md index af85279e7..2432d34e6 100644 --- a/packages/vant-touch-emulator/README.md +++ b/packages/vant-touch-emulator/README.md @@ -29,3 +29,11 @@ import '@vant/touch-emulator'; ```html ``` + +## 禁用 touch 模拟 + +在标签上添加 `data-no-touch-simulate` 属性后,可以使这个标签(以及它的子元素)不触发 `touch` 模拟事件。 + +```html +
+``` diff --git a/packages/vant-touch-emulator/changelog.md b/packages/vant-touch-emulator/changelog.md index 915972f86..86b57aa90 100644 --- a/packages/vant-touch-emulator/changelog.md +++ b/packages/vant-touch-emulator/changelog.md @@ -1,5 +1,11 @@ # Changelog +### [v1.3.1] + +`2021-07-06` + +- support data-no-touch-simulate attr + ### [v1.3.0] `2021-05-26` diff --git a/packages/vant-touch-emulator/package.json b/packages/vant-touch-emulator/package.json index 08a0fe066..2368aea2e 100644 --- a/packages/vant-touch-emulator/package.json +++ b/packages/vant-touch-emulator/package.json @@ -1,6 +1,6 @@ { "name": "@vant/touch-emulator", - "version": "1.3.0", + "version": "1.3.1", "description": "Vant touch emulator", "main": "index.js", "publishConfig": {