fix: 修复未安装知识库插件时的错误引导

This commit is contained in:
Soulter
2025-10-18 10:36:11 +08:00
parent ed6cdfedbb
commit 5c5b0f4fde
@@ -603,6 +603,7 @@ export default {
.then(response => {
if (response.data.status !== 'ok' || response.data.data.length === 0) {
this.showSnackbar(this.tm('messages.pluginNotAvailable'), 'error');
this.installed = false;
return
}
if (!response.data.data[0].activated) {