mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +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,
|
||||
});
|
||||
})
|
||||
}).catch(() => {
|
||||
});
|
||||
.catch(() => {
|
||||
});
|
||||
},
|
||||
fetchTemplates() {
|
||||
Api.agent.getAgentTemplate(({ data }) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue