no message

This commit is contained in:
kuaifan 2025-03-28 18:45:09 +08:00
parent 40736c4a05
commit 0b7d49785c

View File

@ -3075,7 +3075,7 @@ export default {
value: $A.thumbRestore(event.target.currentSrc), value: $A.thumbRestore(event.target.currentSrc),
}) })
} }
if (!isLocalResourcePath(event.target.currentSrc)) { if (msgData.type !== 'file' && !isLocalResourcePath(event.target.currentSrc)) {
this.operateCopys.push({ this.operateCopys.push({
type: 'imagedown', type: 'imagedown',
icon: '', icon: '',
@ -3163,7 +3163,7 @@ export default {
if (rect.bottom > scrollerRect.bottom) { if (rect.bottom > scrollerRect.bottom) {
height -= 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 = { this.operateStyles = {
left: `${left}px`, left: `${left}px`,
top: `${top}px`, top: `${top}px`,