提交 98d27f70 编写于 作者: richard_1015's avatar richard_1015

fix(rate): readonly state disable touch

上级 5c9e9396
......@@ -106,7 +106,7 @@ const useComponent = (touchable: Boolean = true) => {
const touch = useTouch();
const touchMethods = {
onTouchStart(event: Event) {
if (!props.touchable) return;
if (!props.touchable || props.readonly) return;
touch.start(event);
},
onTouchMove(event: Event) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册