mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
perf: use @pureadmin/table replace el-table
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]);
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user