Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Correct a typo #365

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/admin/src/components/CustomPageModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default ({

if (path.substring(0, 1) != "/") {
Modal.info({
title: "路径必须以反斜杠为开头!",
title: "路径必须以斜杠为开头!",
});
return false;
}
Expand Down Expand Up @@ -101,7 +101,7 @@ export default ({
name="path"
label="路径"
placeholder="自定义页面的路径"
tooltip="自定义页面的路径,需以反斜杠开头,会加载到 /c 路径下。"
tooltip="自定义页面的路径,必须以斜杠开头,会加载到 /c 路径下。"
rules={[{ required: true, message: "这是必填项" }]}
/>
</ModalForm>
Expand Down