Commit 9c7fbdcd by 杨子

修复popover组件方向问题

parent 7e94ccc4
......@@ -111,6 +111,8 @@ const placement = ref('right');
const onMouseEvent = (e: MouseEvent) => {
if(e.pageX >=1000){
placement.value = 'left';
}else{
placement.value = 'right';
}
e.preventDefault();
......
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