Commit 5370e96e by 李伟康

```

fix(wwLoginPanel): 修复错误通知显示问题

在登录面板组件中添加错误对象检查,避免在错误对象为null或undefined时
调用toString()方法导致的潜在错误,确保通知功能正常工作。
```
1 parent 62ef216c
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
else window.location.href = url else window.location.href = url
} else throw res.errMsg } else throw res.errMsg
} catch (error) { } catch (error) {
Notify(typeof error === 'string' ? error : error.toString()) if (error) Notify(typeof error === 'string' ? error : error.toString())
} }
}, },
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!