mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
fix(roleConfig): correct promise handling in fetchTemplates method
This commit is contained in:
parent
2cbc525114
commit
50e3a961c0
1 changed files with 2 additions and 2 deletions
|
|
@ -509,8 +509,8 @@ export default {
|
||||||
showClose: true,
|
showClose: true,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
.catch(() => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
fetchTemplates() {
|
fetchTemplates() {
|
||||||
Api.agent.getAgentTemplate(({ data }) => {
|
Api.agent.getAgentTemplate(({ data }) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue