2020-07-27 19:03:07 +08:00

39 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="blacklist-container">
<el-divider content-position="left">
vue-admin-beautiful禁止以下人员使用
</el-divider>
<el-alert :closable="false">
这世界嘲笑你的人有很多你又不是圣人干嘛对每个人都仁慈面对无端的辱骂和攻击你只能选择将他记在这里时刻提醒自己
</el-alert>
<br />
<el-table :data="tableData" style="width: 100%;">
<el-table-column prop="name" label="QQ昵称" width="180"></el-table-column>
<el-table-column prop="qq" label="QQ号" width="180"></el-table-column>
<el-table-column prop="excuse" label="是否可原谅"></el-table-column>
</el-table>
</div>
</template>
<script>
import { getList } from "@/api/blacklist";
export default {
name: "Blacklist",
components: {},
data() {
return { tableData: [] };
},
created() {
this.fetchData();
},
mounted() {},
methods: {
fetchData() {
getList().then(({ data }) => {
this.tableData = data;
});
},
},
};
</script>