feat(ui): new DeployNodeForm using antd

This commit is contained in:
Fu Diwei
2024-12-31 19:55:34 +08:00
parent cb7a465d6c
commit 6f088fd76a
53 changed files with 2808 additions and 285 deletions

View File

@@ -34,3 +34,7 @@ export const validHttpOrHttpsUrl = (value: string) => {
return false;
}
};
export const validPortNumber = (value: string | number) => {
return parseInt(value + "") === +value && +value >= 1 && +value <= 65535;
};