fix: 修复旋转编码器地址与控制问题
This commit is contained in:
@@ -258,6 +258,8 @@ watchEffect(() => {
|
||||
watch(
|
||||
() => rotationStep.value,
|
||||
(newStep, oldStep) => {
|
||||
if (!props.enableDigitalTwin) return;
|
||||
|
||||
if (newStep > oldStep) {
|
||||
rotataryEncoderStore.rotateOnce(
|
||||
props.encoderNumber,
|
||||
|
||||
Reference in New Issue
Block a user