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