💄 UI: [前台]:昵称触发下拉菜单方式改为hover+click
This commit is contained in:
parent
89bb03e5aa
commit
c1e02db0db
@ -32,7 +32,7 @@ class MainLayout extends React.Component {
|
|||||||
);
|
);
|
||||||
if (userInfo !== null) {
|
if (userInfo !== null) {
|
||||||
return (
|
return (
|
||||||
<Dropdown overlay={menu} placement="bottomCenter">
|
<Dropdown overlay={menu} placement="bottomCenter" trigger={["hover", "click"]}>
|
||||||
<span style={{ cursor: "pointer" }}>{userInfo.username}</span>
|
<span style={{ cursor: "pointer" }}>{userInfo.username}</span>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user