mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +08:00
Change Button the Chat (#694)
This commit is contained in:
parent
39f16d6bfc
commit
2f1f6bf6c9
@ -35,14 +35,18 @@
|
|||||||
</span>
|
</span>
|
||||||
<el-scrollbar>
|
<el-scrollbar>
|
||||||
<input-chat />
|
<input-chat />
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
icon="el-icon-success"
|
icon="el-icon-check"
|
||||||
style="background: #008fd3; float: right"
|
style="float: right; "
|
||||||
type="primary"
|
type="primary"
|
||||||
circle
|
|
||||||
@click="sendComment()"
|
@click="sendComment()"
|
||||||
/>
|
/>
|
||||||
|
<el-button
|
||||||
|
icon="el-icon-close"
|
||||||
|
style="float: right;margin-right: 1%;"
|
||||||
|
type="danger"
|
||||||
|
@click="clear()"
|
||||||
|
/>
|
||||||
</el-scrollbar>
|
</el-scrollbar>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
@ -113,6 +117,9 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
clear() {
|
||||||
|
this.$store.commit('setChatText', '')
|
||||||
|
},
|
||||||
translateDate(value) {
|
translateDate(value) {
|
||||||
return this.$d(new Date(value), 'long', this.language)
|
return this.$d(new Date(value), 'long', this.language)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user