fix 登录未重定向,前端退出未清空数据、登录重复点击问题
This commit is contained in:
parent
86cc8122ce
commit
8a263193a0
@ -650,6 +650,7 @@ function handleQuery() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
getStoreDetail(state.queryParams).then((res: any)=> {
|
getStoreDetail(state.queryParams).then((res: any)=> {
|
||||||
|
if (res.resultObj) {
|
||||||
state.MATERIALPACKINGLIST = res.resultObj.storeCharge
|
state.MATERIALPACKINGLIST = res.resultObj.storeCharge
|
||||||
state.MATERIALRECEIVEACT = res.resultObj.storeDetail
|
state.MATERIALRECEIVEACT = res.resultObj.storeDetail
|
||||||
if (state.MATERIALPACKINGLISTS != '') {
|
if (state.MATERIALPACKINGLISTS != '') {
|
||||||
@ -666,6 +667,11 @@ function handleQuery() {
|
|||||||
}
|
}
|
||||||
state.MATERIALPACKINGLISTS
|
state.MATERIALPACKINGLISTS
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
ElMessageBox.alert(res.message, '提醒框', {
|
||||||
|
confirmButtonText: 'OK'
|
||||||
|
})
|
||||||
|
}
|
||||||
}).catch((error: any) => {
|
}).catch((error: any) => {
|
||||||
ElMessageBox.alert(error.message, '提醒框', {
|
ElMessageBox.alert(error.message, '提醒框', {
|
||||||
confirmButtonText: 'OK'
|
confirmButtonText: 'OK'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user