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

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

parent 8144f21f
Pipeline #90029 waiting for manual action with stages
...@@ -156,10 +156,10 @@ const Demonstration = props => { ...@@ -156,10 +156,10 @@ const Demonstration = props => {
}, 100); }, 100);
break; break;
case 'showBack': case 'showBack':
!showBackBtn && setShowBackBtn(true); setShowBackBtn(true);
break; break;
case 'hideBack': case 'hideBack':
showBackBtn && setShowBackBtn(false); setShowBackBtn(false);
break; break;
default: default:
break; 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