From fd98d3d9d49fad8d7244cae8de2264a635fe9f69 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期一, 28 二月 2022 15:55:38 +0800 Subject: [PATCH] 补充默认头像svg、添加加载失败图片显示(demo/list) --- src/directive/el-drag-dialog/drag.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/directive/el-drag-dialog/drag.js b/src/directive/el-drag-dialog/drag.js index 299e985..459f780 100644 --- a/src/directive/el-drag-dialog/drag.js +++ b/src/directive/el-drag-dialog/drag.js @@ -15,6 +15,8 @@ })() dialogHeaderEl.onmousedown = (e) => { + // 20211019 long 寮圭獥楂樺害澶т簬灞忓箷鍙楂樺害鏃� 绂佹鎷栨嫿 + if (dragDom.offsetHeight > document.body.clientHeight) return // 榧犳爣鎸変笅锛岃绠楀綋鍓嶅厓绱犺窛绂诲彲瑙嗗尯鐨勮窛绂� const disX = e.clientX - dialogHeaderEl.offsetLeft const disY = e.clientY - dialogHeaderEl.offsetTop -- Gitblit v1.8.0