Commit 6e374532 by 郑艺斌

fix: 修复任务计划模板无法新增问题

parent a50f2785
......@@ -154,6 +154,9 @@ export default {
},
// 表格新增
tableDataADD () {
if (!this.formData.taskVariableList) {
this.$set(this.formData, 'taskVariableList', [])
}
this.formData.taskVariableList.push({})
},
// 表格删除
......@@ -191,4 +194,5 @@ export default {
}
</script>
<style lang="less" scoped>
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment