Skip to content

Commit

Permalink
[Fix] Correct a typo (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
CornWorld authored Nov 28, 2023
1 parent 52a6c14 commit 769d311
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 769d311

Please sign in to comment.