mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-09 05:00:30 +08:00
opti: redux-devtools 默认关闭
This commit is contained in:
parent
cf544d4a0e
commit
fe06942703
@ -5,7 +5,11 @@ import DockMonitor from 'redux-devtools-dock-monitor';
|
||||
const DockMonitorD = DockMonitor.default // 这里有 bug 不知道为啥非要使用 default
|
||||
|
||||
export default createDevTools(
|
||||
<DockMonitorD toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q">
|
||||
<DockMonitorD
|
||||
toggleVisibilityKey="ctrl-h"
|
||||
changePositionKey="ctrl-q"
|
||||
defaultIsVisible={false}
|
||||
>
|
||||
<LogMonitor.default />
|
||||
</DockMonitorD>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user