mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-14 02:40:45 +08:00
fix: 强化图谱重建与写入错误处理
This commit is contained in:
2
panel.js
2
panel.js
@@ -666,6 +666,7 @@ function _bindActions() {
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`[ST-BME] Action ${actionKey} failed:`, error);
|
||||
toastr.error(`操作失败: ${error?.message || error}`);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -683,6 +684,7 @@ function _bindActions() {
|
||||
_refreshGraph();
|
||||
} catch (error) {
|
||||
console.error("[ST-BME] Action rebuildVectorRange failed:", error);
|
||||
toastr.error(`操作失败: ${error?.message || error}`);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user