建模管理修改属性时显示进度条,空指针异常处理
This commit is contained in:
parent
2ef21ee96b
commit
756e1eda8f
@ -397,6 +397,7 @@ export default {
|
||||
})
|
||||
},
|
||||
closeProgressBarDlg() {
|
||||
this.clearInterval();
|
||||
this.progressBarDlg.visible = false;
|
||||
this.progressBarDlg.percentage = 0;
|
||||
this.progressBarDlg.interval = null;
|
||||
@ -485,7 +486,9 @@ export default {
|
||||
};
|
||||
awsuiAxios.post(data).then(function (ro) {
|
||||
if (ro.result == 'ok') {
|
||||
if (parseInt(ro.data.timer) <= that.progressBarDlg.timer) {// axios异步,以时间戳对比获取最新日至内容
|
||||
if (ro.data.timer == '') {
|
||||
that.clearInterval();
|
||||
} else if (parseInt(ro.data.timer) <= that.progressBarDlg.timer) {// axios异步,以时间戳对比获取最新日至内容
|
||||
// 设置结果
|
||||
that.progressBarDlg.totalCount = ro.data.totalCount;
|
||||
that.progressBarDlg.okCount = ro.data.okCount;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user