v2
xiaojunnuo 2025-01-19 00:40:43 +08:00
parent 3fb9524cbd
commit 5fc07d4dd4
5 changed files with 12 additions and 23 deletions

View File

@ -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",

View File

@ -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
}

View File

@ -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;
}
}

View File

@ -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 (
<div>
<div class={"m-10 p-10"}>
ApiKey3使
x-certd-token3使
<a href={OPEN_API_DOC} target={"_blank"}>
</a>
@ -124,7 +124,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: "KeyId",
type: ["text", "copyable"],
search: {
show: false
show: true
},
form: {
show: false

View File

@ -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 (
<span>
<a href="https://icon-sets.iconify.design/" target="_blank">
</a>
<span>--------</span>
</span>
);
}
}
}
},