Commit ec92c2db by zhaochengxiang

bug fix

parent 6043b9e3
......@@ -663,14 +663,13 @@ const AssetManageTree = (props) => {
}
}
const displayMenu = (e) => {
show({
event: e,
const displayMenu = (event) => {
show(event, {
position: {
x: e.clientX + 30,
y: e.clientY - 10
x: event.clientX + 30,
y: event.clientY - 10
}
});
})
}
const onAutoCompleteSearch = (searchText) => {
......
......@@ -491,14 +491,13 @@ const AssetTree = (props) => {
setUpdateDirectoryModalVisible(true);
}
const displayMenu = (e) => {
show({
event: e,
const displayMenu = (event) => {
show(event, {
position: {
x: e.clientX + 30,
y: e.clientY - 10
x: event.clientX + 30,
y: event.clientY - 10
}
});
})
}
const onAutoCompleteSearch = (searchText) => {
......
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