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:
@@ -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);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user