fix chat message
This commit is contained in:
parent
c70dc36e37
commit
4491e0ba21
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.12.14",
|
"version": "12.119.0-calc.12.15",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
<div v-if="!message.isDeleted" class="content">
|
<div v-if="!message.isDeleted" class="content">
|
||||||
<Mfm v-if="message.text" ref="text" class="text" :text="message.text" :i="$i"/>
|
<Mfm v-if="message.text" ref="text" class="text" :text="message.text" :i="$i"/>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="message.file" class="file">
|
<br/>
|
||||||
|
<div v-if="message.file" class="file" width="400px">
|
||||||
<XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" :media-list="[message.file]" max-width="400px" style="border-radius: 5px"/>
|
<XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" :media-list="[message.file]" max-width="400px" style="border-radius: 5px"/>
|
||||||
<a v-else :href="message.file.url" rel="noopener" target="_blank" :title="message.file.name">
|
<a v-else :href="message.file.url" rel="noopener" target="_blank" :title="message.file.name">
|
||||||
<p>{{ message.file.name }}</p>
|
<p>{{ message.file.name }}</p>
|
||||||
|
|
Loading…
Reference in New Issue