MT:给magic-api动态添加定时任务

This commit is contained in:
MT
2021-11-23 19:53:50 +08:00
parent cecdf7b3a9
commit a0590ada4e
10 changed files with 649 additions and 3 deletions
+28
View File
@@ -0,0 +1,28 @@
<template>
<el-table :data="tableData" stripe border style="width: 100%">
<el-table-column prop="date" label="日期" width="180"></el-table-column>
<el-table-column prop="name" label="姓名" width="180"></el-table-column>
<el-table-column prop="address" label="地址"></el-table-column>
<el-table-column fixed="right" label="操作" width="100">
<template slot-scope="scope">
<el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
<el-button type="text" size="small">编辑</el-button>
</template>
</el-table-column>
</el-table>
</template>
<script>
export default {
name: "index",
methods: {
handleClick(row) {
console.log(row);
}
},
}
</script>
<style scoped>
</style>