fix command

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-09 15:38:48 +07:00
parent c8a9dbb259
commit 2f1230ee1d
3 changed files with 5 additions and 4 deletions

View file

@ -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)]);
})