Skip to content

Commit

Permalink
fix: 周期任务权限判断js报错问题修复 --story=136521403
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 28481
  • Loading branch information
ywywZhou authored and luofann committed Jan 6, 2025
1 parent 2a1e7e1 commit 467ed75
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
selectedNodes: [],
notifyType: [[]],
receiverGroup: [],
hasNoCreatePerm: true,
hasNoCreatePerm: false,
saveLoading: false,
periodicRule: {
required: true,
Expand Down Expand Up @@ -581,14 +581,14 @@
this.initFormData = tools.deepClone(this.formData)
}
},
onSelectTemplate (id) {
async onSelectTemplate (id) {
// 清除表单错误提示
this.$refs.basicConfigForm.clearError()
// 自动填充任务名称
const templateInfo = this.templateList.find(item => item.id === id)
this.formData.name = templateInfo ? templateInfo.name + '_' + i18n.t('周期执行') : ''
this.formData.schemeId = []
this.getTemplateDate(id)
await this.getTemplateDate(id)
this.queryCreatePeriodicTaskPerm(id)
},
async getTemplateScheme () {
Expand Down

0 comments on commit 467ed75

Please sign in to comment.