fix command
This commit is contained in:
parent
c8a9dbb259
commit
2f1230ee1d
3 changed files with 5 additions and 4 deletions
|
|
@ -224,7 +224,7 @@ async function fetchDataCommandTypeId(id: string) {
|
|||
await http
|
||||
.get(config.API.commandType + `/${id}`)
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
const data = await res.data.result;
|
||||
dataTemplateDetail.value = data;
|
||||
await Promise.all([childTemplateDetailRef?.value?.fetchData(data)]);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue