mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: import bug
This commit is contained in:
parent
cee033dc5e
commit
719a810aca
2 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ import { Config } from '../config.js'
|
|||
|
||||
let nodejieba
|
||||
try {
|
||||
nodejieba = await import('nodejieba').default
|
||||
nodejieba = (await import('nodejieba')).default
|
||||
} catch (err) {
|
||||
logger.info('未安装nodejieba,娱乐功能-词云统计不可用')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue