mirror of https://github.com/openspug/spug
F 修复多主机发布时页面异常的问题 #133
parent
9cb888d43b
commit
365159b349
|
@ -59,7 +59,7 @@ class Ext1Index extends React.Component {
|
|||
const {key, data, step, status} = message;
|
||||
if (data !== undefined) {
|
||||
store.outputs[key]['data'] += data;
|
||||
this.elements[key].scrollIntoView()
|
||||
if (this.elements[key]) this.elements[key].scrollIntoView()
|
||||
}
|
||||
if (step !== undefined) store.outputs[key]['step'] = step;
|
||||
if (status !== undefined) store.outputs[key]['status'] = status;
|
||||
|
|
|
@ -60,7 +60,7 @@ class Ext1Index extends React.Component {
|
|||
const {key, data, step, status} = message;
|
||||
if (data !== undefined) {
|
||||
store.outputs[key]['data'] += data;
|
||||
this.elements[key].scrollIntoView()
|
||||
if (this.elements[key]) this.elements[key].scrollIntoView()
|
||||
}
|
||||
if (step !== undefined) store.outputs[key]['step'] = step;
|
||||
if (status !== undefined) store.outputs[key]['status'] = status;
|
||||
|
|
Loading…
Reference in New Issue