Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-platform-ui
Commits
bf0924f8
Commit
bf0924f8
authored
Jun 17, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复前置条件不能新增行
parent
6b8ff550
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
dev.env.js
config/dev.env.js
+1
-1
EditScene.vue
src/views/auto/EditScene.vue
+7
-2
No files found.
config/dev.env.js
View file @
bf0924f8
...
...
@@ -9,7 +9,7 @@ module.exports = merge(prodEnv, {
TESTDATA_API
:
'
"//testdata.liangkebang.com"
'
,
// HOLMES: '"//localhost:8084"',
QA_PLATFORM
:
'
"//qa-platform-fe.liangkebang.net/"
'
,
HOLMES
:
'
"//holmes-
fe
.liangkebang.net/"
'
,
HOLMES
:
'
"//holmes-
yxm
.liangkebang.net/"
'
,
QA_API
:
"
//qaapi.liangkebang.com/
"
,
})
src/views/auto/EditScene.vue
View file @
bf0924f8
...
...
@@ -561,9 +561,14 @@ export default {
})
}
// 返回断言
this
.
assertionList
=
JSON
.
parse
(
row
.
validate
)
if
(
JSON
.
parse
(
row
.
validate
)
!==
null
)
{
this
.
assertionList
=
JSON
.
parse
(
row
.
validate
)
}
// 前置条件
if
(
row
.
preAction
.
length
!==
0
)
{
// if (row.preAction.length !== 0) {
// this.preActionList = JSON.parse(row.preAction)
// }
if
(
JSON
.
parse
(
row
.
preAction
)
!==
null
)
{
this
.
preActionList
=
JSON
.
parse
(
row
.
preAction
)
}
},
...
...
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