mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
fix: Error run process, output is undefined. (#510)
This commit is contained in:
parent
dd8baa56bf
commit
19e3690a9a
@ -399,7 +399,9 @@ const processControl = {
|
||||
logs: logList,
|
||||
output
|
||||
})
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
if (!isEmptyValue(processResult.output)) {
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
}
|
||||
commit('addNotificationProcess', processResult)
|
||||
resolve(processResult)
|
||||
})
|
||||
@ -579,7 +581,9 @@ const processControl = {
|
||||
output
|
||||
})
|
||||
resolve(processResult)
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
if (!isEmptyValue(processResult.output)) {
|
||||
dispatch('setReportTypeToShareLink', processResult.output.reportType)
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
Object.assign(processResult, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user