diff --git a/src/pages/system/login-log/index.vue b/src/pages/system/login-log/index.vue index c2da3ae..fc6bb2f 100644 --- a/src/pages/system/login-log/index.vue +++ b/src/pages/system/login-log/index.vue @@ -1,6 +1,15 @@ @@ -27,7 +36,7 @@ const table = useTable({ return ( - { status === null || status ? "成功" : "失败" } + {status === null || status ? "成功" : "失败"} {description} @@ -65,11 +74,11 @@ const table = useTable({ type: "input", required: false, nodeProps: { - placeholder: '请输入登陆账号', + placeholder: "请输入登陆账号", }, itemProps: { hideLabel: true, - } + }, }, ], }, diff --git a/src/pages/system/user/index.vue b/src/pages/system/user/index.vue index 566e399..7b5a915 100644 --- a/src/pages/system/user/index.vue +++ b/src/pages/system/user/index.vue @@ -1,21 +1,20 @@ @@ -23,7 +22,8 @@ import { api } from "@/api"; import { Table, useTable } from "@/components"; import { dayjs } from "@/libs/dayjs"; -import { Avatar } from "@arco-design/web-vue"; + +const type = ref("all"); const table = useTable({ data: async (model, paging) => { @@ -36,16 +36,12 @@ const table = useTable({ width: 180, render: ({ record }) => (
- - - + + + - - {record.nickname} - - - ID: {record.username} - + {record.nickname} + ID: {record.username}
), @@ -75,7 +71,7 @@ const table = useTable({ text: "修改", }, { - text: '设置密码', + text: "设置密码", }, { type: "delete", @@ -151,9 +147,9 @@ const table = useTable({ type: "custom", component: ({ field, model }) => { return ( - + - + ); }, }, diff --git a/src/styles/css-arco.less b/src/styles/css-arco.less index 306a5e6..c79ccb1 100644 --- a/src/styles/css-arco.less +++ b/src/styles/css-arco.less @@ -2,7 +2,7 @@ // @blue-6: #09f; -@arcoblue-6:#3b9; +@arcoblue-6:#08f; body { .arco-layout-sider {