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