Commit fb3fcf4d authored by 周宏民's avatar 周宏民

fix: 修改返回按钮显示和隐藏

parent 8144f21f
Pipeline #90029 waiting for manual action with stages
......@@ -156,10 +156,10 @@ const Demonstration = props => {
}, 100);
break;
case 'showBack':
!showBackBtn && setShowBackBtn(true);
setShowBackBtn(true);
break;
case 'hideBack':
showBackBtn && setShowBackBtn(false);
setShowBackBtn(false);
break;
default:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment