Skip to content

Commit

Permalink
feat: v3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Sep 5, 2024
1 parent f7c6b18 commit 62c0e50
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 20 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "surmon.admin",
"version": "3.3.0",
"version": "3.3.1",
"author": "Surmon",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -50,7 +50,7 @@
"react-router-dom": "^6.26.x",
"react-top-loading-bar": "^2.3.1",
"ua-parser-js": "^1.0.38",
"veact": "^1.0.0-beta.2",
"veact": "^1.0.0",
"veact-use": "^0.1.4"
},
"devDependencies": {
Expand All @@ -62,6 +62,7 @@
"@types/ua-parser-js": "^0.7.39",
"@vitejs/plugin-react": "^4.x",
"eslint": "^9.x",
"eslint-config-prettier": "^9.x",
"eslint-plugin-prettier": "^5.x",
"eslint-plugin-react": "^7.x",
"globals": "^15.9.0",
Expand Down
51 changes: 33 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/pages/Setting/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export const ProfileForm: React.FC = () => {
const validatePassword = async () => {
const password = form.getFieldValue('password')
const newPassword = form.getFieldValue('new_password')
// @ts-ignore
const reallyNewPassword = form.getFieldValue('rel_new_password')
if (!password && !newPassword && !reallyNewPassword) {
return
Expand Down

0 comments on commit 62c0e50

Please sign in to comment.