Commit cc5ed5e1 authored by 李苏's avatar 李苏 💬

1

parent 8ed9de55
......@@ -54,13 +54,7 @@ const user = {
/* 存储本地一份 */
setToken(res.data.token)
/* ERP项目查询物料属性*/
materialProp().then(res=>{
let list=['isKwgl','isPhgl','isFjldw']
list.forEach(item=>{
localStorage.setItem(item,res[item])
})
})
materialProp()
commit('SET_TOKEN', res.data.token)
setUserid(res.data.userid)
resolve()
......
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