anlityli / chatait-free

一套 golang + vue3 实现的chatgpt、midjourney的对话程序
GNU Affero General Public License v3.0
244 stars 76 forks source link

inject() can only be used inside setup() or functional components. #16

Closed bobwong89757 closed 5 months ago

bobwong89757 commented 5 months ago
image

vue版本3.4.15

bobwong89757 commented 5 months ago

需要修改一下 export const getActive = (maxLevel = 3): string => { const route = useRoute() if (isNil(route)){ return '' } ... }

anlityli commented 5 months ago

感谢纠正