mirror of
https://github.com/certd/certd.git
synced 2026-04-27 23:37:29 +08:00
chore:
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"}>
|
||||||
测试ApiKey如下,您可以在3分钟内使用它进行
|
测试x-certd-token如下,您可以在3分钟内使用它进行
|
||||||
<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
|
||||||
|
|||||||
@@ -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>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user