Skip to content

Commit

Permalink
bugfix:修复任务节点失败重试按钮只能点击一次的问题 TencentBlueKing#51
Browse files Browse the repository at this point in the history
  • Loading branch information
luofann committed Apr 9, 2019
1 parent a161ee3 commit e5b3bf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipeline/blueflow/src/pages/task/TaskExecute/RetryNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<NoData v-else></NoData>
</div>
<div class="action-wrapper" v-if="!isEmptyParams">
<bk-button type="success" @click.once="onRetryTask">{{ i18n.confirm }}</bk-button>
<bk-button type="success" @click="onRetryTask">{{ i18n.confirm }}</bk-button>
<bk-button type="default" @click="onCancelRetry">{{ i18n.cancel }}</bk-button>
</div>
</div>
Expand Down Expand Up @@ -123,7 +123,7 @@ export default {
if (this.$refs.renderForm) {
formvalid = this.$refs.renderForm.validate()
}
if (!formvalid) return
if (!formvalid || this.retrying) return
const { instance_id, component_code, node_id } = this.nodeDetailConfig
const data = {
Expand Down Expand Up @@ -151,7 +151,7 @@ export default {
}
},
onCancelRetry () {
const { node_id } = this.nodeDetailConfig
const { node_id } = this.nodeDetailConfigs
this.$emit('retryCancel', node_id)
}
}
Expand Down

0 comments on commit e5b3bf6

Please sign in to comment.