摘要:
版本:VueI18n 9.x 问题: 在 单独的 文件中使用 useI18n() , 而不是在 setup() 中直接使用 const { locale } = useI18n({ useScope: 'global' }) 一不小心,就会报错: Must be called at the top 阅读全文
摘要:
Vue 版本:3.0.0 出现的问题: 在 setup() 中 onMounted() onActivated(),出现警告: [Vue warn]: onMounted is called when there is no active component instance to be assoc 阅读全文