1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

Change Button the Chat (#694)

This commit is contained in:
Elsio Sanchez 2021-03-24 11:10:47 -04:00 committed by GitHub
parent 39f16d6bfc
commit 2f1f6bf6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,14 +35,18 @@
</span>
<el-scrollbar>
<input-chat />
<el-button
icon="el-icon-success"
style="background: #008fd3; float: right"
icon="el-icon-check"
style="float: right; "
type="primary"
circle
@click="sendComment()"
/>
<el-button
icon="el-icon-close"
style="float: right;margin-right: 1%;"
type="danger"
@click="clear()"
/>
</el-scrollbar>
</el-card>
</div>
@ -113,6 +117,9 @@ export default {
})
}
},
clear() {
this.$store.commit('setChatText', '')
},
translateDate(value) {
return this.$d(new Date(value), 'long', this.language)
}