fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | |||||||
|  * @Author       : Shiming |  * @Author       : Shiming | ||||||
|  * @Date         : 2021-12-30 14:45:39 |  * @Date         : 2021-12-30 14:45:39 | ||||||
|  * @LastEditors  : Shiming |  * @LastEditors  : Shiming | ||||||
|  * @LastEditTime : 2022-03-24 10:28:48 |  * @LastEditTime : 2022-04-22 15:37:09 | ||||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts |  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\modify-captain\\modify-captain.component.ts | ||||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. |  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||||
|  */ |  */ | ||||||
| @ -103,8 +103,6 @@ export class VehicleModifyCaptainComponent implements OnInit { | |||||||
|       if (res) { |       if (res) { | ||||||
|         this.modal.destroy(); |         this.modal.destroy(); | ||||||
|         this.service.msgSrv.success('修改成功'); |         this.service.msgSrv.success('修改成功'); | ||||||
|       } else { |  | ||||||
|         this.service.msgSrv.error(res?.msg); |  | ||||||
|       } |       } | ||||||
|     }); |     }); | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user