完成小区相关的接口对接
This commit is contained in:
@@ -45,7 +45,6 @@ const open = async (e: MouseEvent, value: any) => {
|
||||
if (left + rect.width > window.innerWidth) {
|
||||
left = window.innerWidth - rect.width - 8;
|
||||
}
|
||||
console.log('window', window.innerWidth);
|
||||
|
||||
// 下边界碰撞
|
||||
if (top + rect.height > window.innerHeight) {
|
||||
@@ -69,7 +68,6 @@ const open = async (e: MouseEvent, value: any) => {
|
||||
// 关闭
|
||||
const close = () => {
|
||||
show.value = false;
|
||||
console.log('close');
|
||||
document.removeEventListener('click', close);
|
||||
document.removeEventListener('contextmenu', close);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user