Browse Source

fix(api): 更新API

gemercheung 4 years ago
parent
commit
e48e4a9e06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/sys/model/userModel.ts

+ 1 - 1
src/api/sys/model/userModel.ts

@@ -26,7 +26,7 @@ export interface LoginParams {
 
 export interface updateUserInfoPasswordParam {
   id: string | number;
-  password: string;
+  password?: string;
   newPassword?: string;
 }