Skip to content

Commit 36173b8

Browse files
fix: RichText组件selectable类型修改 (#16092)
Co-authored-by: 1874. <1094918@gmail.com>
1 parent 4297c2a commit 36173b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/taro-components/types/RichText.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface RichTextProps extends StandardProps {
1818
* @default false(基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
1919
* @supported swan, h5, harmony_hybrid
2020
*/
21-
selectable?: string
21+
selectable?: boolean;
2222
/** 阻止长按图片时弹起默认菜单(将该属性设置为image-menu-prevent或image-menu-prevent="true"),只在初始化时有效,不能动态变更;若不想阻止弹起默认菜单,则不需要设置此属性
2323
* @default false
2424
* @supported swan

0 commit comments

Comments
 (0)