From 0b7d49785c9580eb3202ddff0cbc11810f0bebea Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 28 Mar 2025 18:45:09 +0800 Subject: [PATCH] no message --- resources/assets/js/pages/manage/components/DialogWrapper.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/pages/manage/components/DialogWrapper.vue b/resources/assets/js/pages/manage/components/DialogWrapper.vue index 439a79bff..faa830cca 100644 --- a/resources/assets/js/pages/manage/components/DialogWrapper.vue +++ b/resources/assets/js/pages/manage/components/DialogWrapper.vue @@ -3075,7 +3075,7 @@ export default { value: $A.thumbRestore(event.target.currentSrc), }) } - if (!isLocalResourcePath(event.target.currentSrc)) { + if (msgData.type !== 'file' && !isLocalResourcePath(event.target.currentSrc)) { this.operateCopys.push({ type: 'imagedown', icon: '', @@ -3163,7 +3163,7 @@ export default { if (rect.bottom > scrollerRect.bottom) { height -= rect.bottom - scrollerRect.bottom } - const left = this.windowWidth < 500 ? (this.windowWidth / 2) : this.operateItem.clientX + const left = this.windowWidth < 500 && this.operateItem.created_at ? (this.windowWidth / 2) : this.operateItem.clientX this.operateStyles = { left: `${left}px`, top: `${top}px`,