perf: use @pureadmin/table replace el-table

This commit is contained in:
xiaoxian521
2022-06-22 20:16:33 +08:00
parent 1dfc67802a
commit 9fa1d9d2ea
6 changed files with 301 additions and 262 deletions

View File

@@ -66,7 +66,7 @@ export function useColumns() {
},
{
label: "创建时间",
width: "180",
width: 180,
prop: "createTime",
formatter: ({ createTime }) =>
dayjs(createTime).format("YYYY-MM-DD HH:mm:ss")
@@ -74,7 +74,7 @@ export function useColumns() {
{
label: "操作",
fixed: "right",
width: "180",
width: 180,
slot: "operation"
}
]);

View File

@@ -1,4 +1,4 @@
<script setup lang="tsx">
<script setup lang="ts">
import { useColumns } from "./columns";
import { getRoleList } from "/@/api/system";
import { PureTable } from "@pureadmin/table";