fix: 修复未安装知识库插件时的错误引导
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user