|
|
@ -2,7 +2,6 @@ |
|
|
|
<PageWrapper title="卡片列表示例" content="基础封装"> |
|
|
|
<PageWrapper title="卡片列表示例" content="基础封装"> |
|
|
|
<CardList |
|
|
|
<CardList |
|
|
|
:params="params" |
|
|
|
:params="params" |
|
|
|
:api="demoListApi" |
|
|
|
|
|
|
|
@get-method="getMethod" |
|
|
|
@get-method="getMethod" |
|
|
|
@delete="handleDel" |
|
|
|
@delete="handleDel" |
|
|
|
> |
|
|
|
> |
|
|
@ -17,7 +16,7 @@ |
|
|
|
import { CardList } from '/@/components/CardList'; |
|
|
|
import { CardList } from '/@/components/CardList'; |
|
|
|
import { Button } from '/@/components/Button'; |
|
|
|
import { Button } from '/@/components/Button'; |
|
|
|
import { PageWrapper } from '/@/components/Page'; |
|
|
|
import { PageWrapper } from '/@/components/Page'; |
|
|
|
import { demoListApi } from '/@/api/demo/table'; |
|
|
|
//import { demoListApi } from '/@/api/demo/table'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
const { notification } = useMessage(); |
|
|
|
const { notification } = useMessage(); |
|
|
|
// 请求api时附带参数 |
|
|
|
// 请求api时附带参数 |
|
|
|