feat(ShareSheet): add className option (#6886)

* feat: van-share-sheet支持设置分享选项的类名

* Update README.zh-CN.md

* Update README.md

* Update index.vue

* fix: 添加一些van-share-sheet测试用例

* fix: change van-share-sheet test code

Co-authored-by: neverland <416417567@163.com>
This commit is contained in:
月光倾城
2020-07-28 10:59:30 +08:00
committed by GitHub
co-authored by neverland
parent 64bec01a73
commit d922c2baaa
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export default createComponent({
<div
role="button"
tabindex="0"
class={bem('option')}
class={[bem('option'), option.className]}
onClick={() => {
this.onSelect(option, index);
}}