Commit 36fe541d authored by liwei's avatar liwei

新建了API监控页面

parent 04060e06
...@@ -23,23 +23,23 @@ ...@@ -23,23 +23,23 @@
<template #headerTop> <template #headerTop>
<BasicForm @register="registerForm" /> <BasicForm @register="registerForm" />
</template> </template>
<!-- <template #bodyCell="{ column, record }">--> <template #bodyCell="{ column, record }">
<!-- <template v-if="column.key === 'action'">--> <template v-if="column.key === 'action'">
<!-- <TableAction--> <TableAction
<!-- :actions="[--> :actions="[
<!-- {--> {
<!-- icon: 'ant-design:delete-outlined',--> icon: 'ant-design:delete-outlined',
<!-- color: 'error',--> color: 'error',
<!-- popConfirm: {--> popConfirm: {
<!-- title: '是否确认删除',--> title: '是否确认删除',
<!-- placement: 'left',--> placement: 'left',
<!-- confirm: deleteButton.bind(null, record),--> confirm: deleteButton.bind(null, record),
<!-- },--> },
<!-- },--> },
<!-- ]"--> ]"
<!-- />--> />
<!-- </template>--> </template>
<!-- </template>--> </template>
</BasicTable> </BasicTable>
</div> </div>
</template> </template>
...@@ -52,6 +52,8 @@ ...@@ -52,6 +52,8 @@
import {columns1,searchFormSchema} from "./ApiMonitor.data"; import {columns1,searchFormSchema} from "./ApiMonitor.data";
import {TableData} from "./ApiMonitorData"; import {TableData} from "./ApiMonitorData";
import { BasicForm, useForm } from '@/components/Form'; import { BasicForm, useForm } from '@/components/Form';
import { useMessage } from '@/hooks/web/useMessage';
const { createMessage } = useMessage();
defineProps({ defineProps({
loading: { loading: {
type: Boolean, type: Boolean,
...@@ -100,7 +102,7 @@ ...@@ -100,7 +102,7 @@
function deleteButton(){ function deleteButton(){
createMessage.success('删除成功!')
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
...@@ -114,7 +116,6 @@ ...@@ -114,7 +116,6 @@
.center{ .center{
width: 100%; width: 100%;
height:800px;
background-color: white; background-color: white;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment