1. 修复漏洞
This commit is contained in:
parent
8ce3f7689d
commit
152d78fa1f
|
|
@ -145,8 +145,7 @@ export default {
|
|||
name: 'sortBox',
|
||||
data() {
|
||||
return {
|
||||
// standId: store.getters.getStandId,
|
||||
standId: 'ASRS-#7',
|
||||
standId: store.getters.getStandId,
|
||||
printTabs: [],
|
||||
printObj: {
|
||||
id: "printArea", // 这里是要打印元素的ID
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ const login = () => {
|
|||
})
|
||||
loginWithAuth(loginForm).then(res => {
|
||||
loading.close()
|
||||
if (res.data.code == 0) {
|
||||
if (res.data.code === 0) {
|
||||
store.commit('mutationUser', res.data.returnData.user)// 用户信息
|
||||
store.commit('mutationMenu', res.data.returnData.menuList)// 菜单信息
|
||||
store.commit('mutationStandId', res.data.returnData.standId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user