ReferenceError: Cannot access 'pageWrapper' before initialization

jeecgboot-vue3 的 ReferenceError: Cannot access 'pageWrapper' before initialization 錯誤問題

問題描述

基於 jeecgboot-vue3 框架進行開發時,不定期在瀏覽器控制檯打印出 ReferenceError: Cannot access 'pageWrapper' before initialization at index.ts:7:40 錯誤,且頁面一直加載中,報錯如圖:

img

解決方案

可參考 ReferenceError: Cannot access 'pageWrapper' before initialization 解決辦法的討論

最終代碼解決方案如下:

https://github.com/zhjphp/jeecgboot-vue3/commit/53f44db558fb7f83cb54b73470164b48b2b31a08

img

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章