联调 新增检测脚本
This commit is contained in:
@@ -14,8 +14,8 @@ import { ref, reactive } from 'vue'
|
||||
import { getTreeData } from '@/api/check/test'
|
||||
import { CheckData } from '@/api/check/interface'
|
||||
const props = defineProps({
|
||||
scriptId: {
|
||||
type: String,
|
||||
formContent: {
|
||||
type: Object,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
@@ -27,7 +27,7 @@ const defaultProps = {
|
||||
}
|
||||
const open = () => {
|
||||
getTreeData({
|
||||
scriptId: props.scriptId
|
||||
scriptId: props.formContent.id
|
||||
}).then(res => {
|
||||
dataTree.value = res.data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user