mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-21 22:53:56 +08:00
fix: 声音复刻成功后自动刷新页面状态
This commit is contained in:
@@ -340,6 +340,8 @@ export default {
|
||||
res = res.data;
|
||||
if (res.code === 0) {
|
||||
this.$message.success(this.$t('message.success'));
|
||||
// 复刻成功后刷新列表
|
||||
this.fetchVoiceCloneList();
|
||||
} else {
|
||||
// 出错时更新状态为训练失败
|
||||
console.log('API返回错误,更新状态为训练失败');
|
||||
|
||||
Reference in New Issue
Block a user