feat(AppSign):BUG 525 添加登录失败错误提示
- 在登录接口返回数据中增加错误信息展示 - 使用 $message.error 方法显示错误提示
This commit is contained in:
		| @@ -95,6 +95,8 @@ export default { | ||||
|       if (data?.access_token) { | ||||
|         this.setToken([data.token_type, data.access_token].join(" ")) | ||||
|         this.handleGotoHome() | ||||
|       } else { | ||||
|         this.$message.error(data?.msg || "登录失败!") | ||||
|       } | ||||
|     }, | ||||
|     handleGotoHome() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user