no message

This commit is contained in:
kuaifan 2021-06-08 17:48:58 +08:00
parent e306a17023
commit 3eeaa5752a
3 changed files with 13 additions and 10 deletions

View File

@ -2,8 +2,8 @@
<div
class="dialog-wrapper"
@drop.prevent="chatPasteDrag($event, 'drag')"
@dragover.prevent="chatDragOver(true)"
@dragleave.prevent="chatDragOver(false)">
@dragover.prevent="chatDragOver(true, $event)"
@dragleave.prevent="chatDragOver(false, $event)">
<slot name="head">
<div class="dialog-title">
<h2>{{dialogDetail.name}}</h2>
@ -156,7 +156,7 @@ export default {
}
},
chatDragOver(show) {
chatDragOver(show, e) {
let random = (this.__dialogDrag = $A.randomString(8));
if (!show) {
setTimeout(() => {
@ -165,7 +165,10 @@ export default {
}
}, 150);
} else {
this.dialogDrag = show;
if (e.dataTransfer.effectAllowed === 'move') {
return;
}
this.dialogDrag = true;
}
},

View File

@ -68,11 +68,11 @@
:class="['column-head', column.color ? 'custom-color' : '']"
:style="column.color ? {backgroundColor: column.color}:null">
<div class="column-head-title">
<span><AutoTip>{{column.name}}{{column.name}}{{column.name}}{{column.name}}{{column.name}}{{column.name}}</AutoTip></span>
<AutoTip>{{column.name}}</AutoTip>
<em>({{column.project_task.length}})</em>
</div>
<div class="column-head-icon">
<Poptip>
<Poptip :ref="'poptip_' + column.id">
<Icon type="ios-more" />
<div class="more-content" slot="content">
<ul>
@ -736,7 +736,8 @@ export default {
}
return true;
}
})
});
this.$refs['poptip_' + column.id][0].handleClose();
},
removeColumn(column) {
@ -767,6 +768,7 @@ export default {
});
}
});
this.$refs['poptip_' + column.id][0].handleClose();
},
saveColumn(column, name, color) {
@ -794,6 +796,7 @@ export default {
}
}
});
this.$refs['poptip_' + column.id][0].handleClose();
},
onSetting() {

View File

@ -217,9 +217,6 @@
font-weight: 500;
> span {
font-size: 15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
> em {
color: #888888;