code-farmer-i / vue-markdown-editor

A markdown editor built on Vue
https://code-farmer-i.github.io/vue-markdown-editor/
MIT License
1.09k stars 109 forks source link

使用preview报错langConfig报undefined #251

Open tonghehui opened 1 year ago

tonghehui commented 1 year ago

看previe.vue里文件没有声明或接收langConfig这个变量,我使用的版本是1.17.11,虽说可以正常使用,但是每次打开console都报两个 错误是不是不好

vue.runtime.esm.js:4610 [Vue warn]: Error in getter for watcher "langConfig": "TypeError: Cannot read properties of undefined (reading 'undefined')"

vue.runtime.esm.js:3058 TypeError: Cannot read properties of undefined (reading 'undefined') at VueComponent.langConfig (preview.js:1:9099)