Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
王刘锁
/
jianlin-tms-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6e374532
authored
Sep 08, 2022
by
郑艺斌
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 修复任务计划模板无法新增问题
parent
a50f2785
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
src/views/modules/taskPlan/taskPlanTemplate/add.vue
src/views/modules/taskPlan/taskPlanTemplate/add.vue
View file @
6e374532
...
@@ -154,6 +154,9 @@ export default {
...
@@ -154,6 +154,9 @@ export default {
},
},
// 表格新增
// 表格新增
tableDataADD
()
{
tableDataADD
()
{
if
(
!
this
.
formData
.
taskVariableList
)
{
this
.
$set
(
this
.
formData
,
'taskVariableList'
,
[])
}
this
.
formData
.
taskVariableList
.
push
({})
this
.
formData
.
taskVariableList
.
push
({})
},
},
// 表格删除
// 表格删除
...
@@ -191,4 +194,5 @@ export default {
...
@@ -191,4 +194,5 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
</
style
>
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment