We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
我在测试使用cms的文章编辑功能的时候, 发现编辑器不能根据系统动态切换语言, 我看到public目录tinymec下是有中文语言包的, src/views/cms/article/edit.js里也是有根据语言切换的, 说明是语言切换出了问题, 果然打开控制台切换语言发现vuex报错了, 去官方vue-admin-template找到vuex切换语言是不报错的, 排查了下是因为src/store/modules/app.js的actions少了setLanguage方法 然后src/components/LangSelect/index.vue文件的this.$store.dispatch('setLanguage', lang)改为this.$store.dispatch('app/setLanguage', lang)
The text was updated successfully, but these errors were encountered:
a81bbbe
No branches or pull requests
我在测试使用cms的文章编辑功能的时候, 发现编辑器不能根据系统动态切换语言, 我看到public目录tinymec下是有中文语言包的, src/views/cms/article/edit.js里也是有根据语言切换的, 说明是语言切换出了问题, 果然打开控制台切换语言发现vuex报错了, 去官方vue-admin-template找到vuex切换语言是不报错的, 排查了下是因为src/store/modules/app.js的actions少了setLanguage方法


然后src/components/LangSelect/index.vue文件的this.$store.dispatch('setLanguage', lang)改为this.$store.dispatch('app/setLanguage', lang)
The text was updated successfully, but these errors were encountered: