diff --git a/packages/ui/certd-client/package.json b/packages/ui/certd-client/package.json index de22f93c..30354d36 100644 --- a/packages/ui/certd-client/package.json +++ b/packages/ui/certd-client/package.json @@ -26,10 +26,10 @@ "dependencies": { "@ant-design/colors": "^7.0.2", "@ant-design/icons-vue": "^6.1.0", - "@fast-crud/fast-crud": "^1.23.4", - "@fast-crud/fast-extends": "^1.23.4", - "@fast-crud/ui-antdv4": "^1.23.4", - "@fast-crud/ui-interface": "^1.23.4", + "@fast-crud/fast-crud": "^1.25.0", + "@fast-crud/fast-extends": "^1.25.0", + "@fast-crud/ui-antdv4": "^1.25.0", + "@fast-crud/ui-interface": "^1.25.0", "@iconify/vue": "^4.1.1", "@soerenmartius/vue3-clipboard": "^0.1.2", "@vue-js-cron/light": "^4.0.5", diff --git a/packages/ui/certd-client/src/router/source/modules/certd.ts b/packages/ui/certd-client/src/router/source/modules/certd.ts index 1855fe51..d3c573de 100644 --- a/packages/ui/certd-client/src/router/source/modules/certd.ts +++ b/packages/ui/certd-client/src/router/source/modules/certd.ts @@ -108,7 +108,7 @@ export const certdResources = [ path: "/certd/open/openkey", component: "/certd/open/openkey/index.vue", meta: { - icon: "ion:disc-outline", + icon: "hugeicons:api", auth: true, cache: true } diff --git a/packages/ui/certd-client/src/style/certd.less b/packages/ui/certd-client/src/style/certd.less index 35299775..5cb15398 100644 --- a/packages/ui/certd-client/src/style/certd.less +++ b/packages/ui/certd-client/src/style/certd.less @@ -2,6 +2,7 @@ display: inline-flex; justify-content: center; align-items: center; + font-size:16px; } @@ -10,7 +11,7 @@ justify-content: center; align-items: center; .fs-iconify{ - font-size:18px; + margin-right: 5px; } } diff --git a/packages/ui/certd-client/src/views/certd/open/openkey/crud.tsx b/packages/ui/certd-client/src/views/certd/open/openkey/crud.tsx index f5bc9be3..7ec908b7 100644 --- a/packages/ui/certd-client/src/views/certd/open/openkey/crud.tsx +++ b/packages/ui/certd-client/src/views/certd/open/openkey/crud.tsx @@ -69,7 +69,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat edit: { show: false }, remove: { show: true }, gen: { - text: " 接口测试", + text: "接口测试", size: "mini", icon: "devicon-plain:vitest", type: "primary", @@ -77,7 +77,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat const apiToken = await api.GetApiToken(row.id); model.success({ - title: "ApiToken", + title: "x-certd-token", maskClosable: true, okText: "确定", width: 600, @@ -85,7 +85,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat return (
- 测试ApiKey如下,您可以在3分钟内使用它进行 + 测试x-certd-token如下,您可以在3分钟内使用它进行 开放接口 @@ -124,7 +124,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat title: "KeyId", type: ["text", "copyable"], search: { - show: false + show: true }, form: { show: false diff --git a/packages/ui/certd-client/src/views/sys/settings/header-menus/crud.tsx b/packages/ui/certd-client/src/views/sys/settings/header-menus/crud.tsx index 94f7dcf2..d125c9e8 100644 --- a/packages/ui/certd-client/src/views/sys/settings/header-menus/crud.tsx +++ b/packages/ui/certd-client/src/views/sys/settings/header-menus/crud.tsx @@ -153,7 +153,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat }, icon: { title: "图标", - type: "text", + type: "icon", column: { width: 300, cellRender: ({ row }) => { @@ -163,18 +163,6 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat form: { component: { placeholder: "ion:add-circle" - }, - helper: { - render: () => { - return ( - - - 图标库 - - --搜索--选择图标--复制名称--填到这里 - - ); - } } } },