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:
parent
39f16d6bfc
commit
2f1f6bf6c9
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user