v2-dev
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": { "dependencies": {
"@ant-design/colors": "^7.0.2", "@ant-design/colors": "^7.0.2",
"@ant-design/icons-vue": "^6.1.0", "@ant-design/icons-vue": "^6.1.0",
"@fast-crud/fast-crud": "^1.23.4", "@fast-crud/fast-crud": "^1.25.0",
"@fast-crud/fast-extends": "^1.23.4", "@fast-crud/fast-extends": "^1.25.0",
"@fast-crud/ui-antdv4": "^1.23.4", "@fast-crud/ui-antdv4": "^1.25.0",
"@fast-crud/ui-interface": "^1.23.4", "@fast-crud/ui-interface": "^1.25.0",
"@iconify/vue": "^4.1.1", "@iconify/vue": "^4.1.1",
"@soerenmartius/vue3-clipboard": "^0.1.2", "@soerenmartius/vue3-clipboard": "^0.1.2",
"@vue-js-cron/light": "^4.0.5", "@vue-js-cron/light": "^4.0.5",

View File

@ -108,7 +108,7 @@ export const certdResources = [
path: "/certd/open/openkey", path: "/certd/open/openkey",
component: "/certd/open/openkey/index.vue", component: "/certd/open/openkey/index.vue",
meta: { meta: {
icon: "ion:disc-outline", icon: "hugeicons:api",
auth: true, auth: true,
cache: true cache: true
} }

View File

@ -2,6 +2,7 @@
display: inline-flex; display: inline-flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size:16px;
} }
@ -10,7 +11,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.fs-iconify{ .fs-iconify{
font-size:18px;
margin-right: 5px; margin-right: 5px;
} }
} }

View File

@ -69,7 +69,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
edit: { show: false }, edit: { show: false },
remove: { show: true }, remove: { show: true },
gen: { gen: {
text: " 接口测试", text: "接口测试",
size: "mini", size: "mini",
icon: "devicon-plain:vitest", icon: "devicon-plain:vitest",
type: "primary", type: "primary",
@ -77,7 +77,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
const apiToken = await api.GetApiToken(row.id); const apiToken = await api.GetApiToken(row.id);
model.success({ model.success({
title: "ApiToken", title: "x-certd-token",
maskClosable: true, maskClosable: true,
okText: "确定", okText: "确定",
width: 600, width: 600,
@ -85,7 +85,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
return ( return (
<div> <div>
<div class={"m-10 p-10"}> <div class={"m-10 p-10"}>
ApiKey3使 x-certd-token3使
<a href={OPEN_API_DOC} target={"_blank"}> <a href={OPEN_API_DOC} target={"_blank"}>
</a> </a>
@ -124,7 +124,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
title: "KeyId", title: "KeyId",
type: ["text", "copyable"], type: ["text", "copyable"],
search: { search: {
show: false show: true
}, },
form: { form: {
show: false show: false

View File

@ -153,7 +153,7 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
}, },
icon: { icon: {
title: "图标", title: "图标",
type: "text", type: "icon",
column: { column: {
width: 300, width: 300,
cellRender: ({ row }) => { cellRender: ({ row }) => {
@ -163,18 +163,6 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat
form: { form: {
component: { component: {
placeholder: "ion:add-circle" placeholder: "ion:add-circle"
},
helper: {
render: () => {
return (
<span>
<a href="https://icon-sets.iconify.design/" target="_blank">
</a>
<span>--------</span>
</span>
);
}
} }
} }
}, },