fix: init data
This commit is contained in:
parent
118e333600
commit
1c4d2e92cf
@ -101,7 +101,7 @@ export async function getInitConfig() {
|
|||||||
global.vectorModels = res.VectorModels || defaultVectorModels;
|
global.vectorModels = res.VectorModels || defaultVectorModels;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
setDefaultData();
|
setDefaultData();
|
||||||
return Promise.reject('get init config error');
|
console.log('get init config error, set default');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user