fix 登录未重定向,前端退出未清空数据、登录重复点击问题

This commit is contained in:
Amjacks 2025-04-07 16:53:21 +08:00
parent 86cc8122ce
commit 8a263193a0

View File

@ -650,6 +650,7 @@ function handleQuery() {
return
}
getStoreDetail(state.queryParams).then((res: any)=> {
if (res.resultObj) {
state.MATERIALPACKINGLIST = res.resultObj.storeCharge
state.MATERIALRECEIVEACT = res.resultObj.storeDetail
if (state.MATERIALPACKINGLISTS != '') {
@ -666,6 +667,11 @@ function handleQuery() {
}
state.MATERIALPACKINGLISTS
}
} else {
ElMessageBox.alert(res.message, '提醒框', {
confirmButtonText: 'OK'
})
}
}).catch((error: any) => {
ElMessageBox.alert(error.message, '提醒框', {
confirmButtonText: 'OK'