Commit c04e8f83 by Administrator

Merge branch 'wq' into 'master'

登录保存

See merge request !5
parents a1d593aa 2c4a4234
......@@ -103,6 +103,9 @@ const handleLogin = async () => {
try {
loading.value = true
await userStore.login(loginForm)
if (loginForm.factoryCode) {
localStorage.setItem('factory_code', String(loginForm.factoryCode))
}
} catch (error) {
// showError(error)
} finally {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment