Property visible must be accessed with $ or _ are not proxied in the Vue instance to prevent錯誤
如果出現上面的錯誤,解決辦法
在 src/permission.js 下面調整為下面程式碼
catch (error) {
// remove token and go to login page to re-login
await store.dispatch('user/resetToken')
Message.error(error.message || 'Has Error')
next(`/login?redirect=${to.path}`)
NProgress.done()
}
相關文章
- Property "visible" must be accessed with "$data.visible"
- Property "visible" must be accessed with "$data.visible" because properties
- vue專案報錯[Vue warn]: Property “visible“ must be accessed with “$data.visible“ because properties startVue
- TypeError: The ‘compilation‘ argument must be an instance of Compilation 報錯Error
- Property [title] does not exist on this collection instance
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- vue+echarts報錯Cannot read property ‘init‘ of underfinedVueEcharts
- [譯] 避免那些可惡的 "cannot read property of undefined" 錯誤Undefined
- Property or method “option“ is not defined on the instance but referenced during render. Make sure t
- 訪問資料庫出現Object reference not set to an instance of an object錯誤資料庫Object
- vue-property-decoratorVue
- MYSQL錯誤程式碼:1248 Every derived table must have its own alias 解決MySql
- Cannot set property ‘type‘ of null(vue)NullVue
- 開發中遇到的bug-Property or method “xxxx“ is not defined on the instance but referenced during render.
- Vue packages version conflicts 錯誤修復VuePackage
- vue-property-decorator使用指南Vue
- 裝飾器vue-property-decoratorVue
- vue-property-decorator基礎教程Vue
- Vue-Property-Decorator原始碼分析Vue原始碼
- 前端報錯:cannot read property length of undefined前端Undefined
- vue2匯入專案遇到錯誤Vue
- vue3 解決 ESLint 各型別錯誤VueEsLint型別
- 關於VHDL中Loop State error...loop must terminate within 10,000 iterations錯誤解決方法OOPError
- Python:Python3錯誤提示TypeError: slice indices must be integers or None or have an __index__ method解決辦法PythonErrorNoneIndex
- visible.c
- 淺出Vue 錯誤處理機制errorCaptured、errorHandlerVueErrorAPT
- 前端錯誤收集(Vue.js、微信小程式)前端Vue.js微信小程式
- VUE專案忽略ResizeObserver loop completed with undelivered notifications錯誤VueServerOOP
- 在vue使用異常處理做錯誤提示Vue
- 前端錯誤監控 -【Vue】與【Sentry】的結合前端Vue
- 使用 Vue 3 時應避免的 10 個錯誤Vue
- 報錯indexerror: tensors used as indices must be long, byte or bool tensorsIndexError
- Vue.js@2.6.10更新內建錯誤處機制,Fundebug同步支援相應錯誤監控Vue.js
- Laravel 避免 Trying to get property of non-object 錯誤的六種方法 [新增第六種 data_get]LaravelObject
- 【常見錯誤】--Nltk使用錯誤
- iis7.5錯誤 配置錯誤
- vue 踩坑記錄 cannot read property xxx of undefinedVueUndefined
- Vue SPA專案 + Sentry 實現前端錯誤監控Vue前端