提交 174747be 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!434 fix step trace bug that click confirm button show error message when step input box is empty

Merge pull request !434 from 黄伟锋/master
......@@ -270,7 +270,7 @@ export default {
this.queryTrainingTrace(0);
},
changeStep(value) {
if (value === 0) {
if (value === 0 || (!this.steps.step && this.steps.step !== 0)) {
this.steps.step = null;
this.steps.trueStep = null;
this.queryTrainingTrace(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册