使用 Element UI 实现会话界面

This commit is contained in:
RockYang
2023-03-20 07:19:12 +08:00
parent e2c3f50c8a
commit aa3a38348f
4 changed files with 103 additions and 94 deletions

View File

@@ -0,0 +1,42 @@
<template>
<div>
<el-dialog
v-show="show"
title="聊天配置"
width="30%"
:before-close="beforeClose"
>
<span>正在努力开发中...</span>
<template #footer>
<span class="dialog-footer">
<el-button @click="show = false">取消</el-button>
<el-button type="primary" @click="show = false">
保存
</el-button>
</span>
</template>
</el-dialog>
</div>
</template>
<script>
import {defineComponent} from "vue"
export default defineComponent({
name: 'ConfigDialog',
data() {
return {
show: true
}
},
methods: {
beforeClose: function () {
}
}
})
</script>
<style lang="stylus">
</style>