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"
- vue專案報錯[Vue warn]: Property “visible“ must be accessed with “$data.visible“ because properties startVue
- Property "visible" must be accessed with "$data.visible" because properties
- Not-null property references a transient value - transient instance must be saved before current opeNull
- TypeError: The ‘compilation‘ argument must be an instance of Compilation 報錯Error
- 【Redis】錯誤:failed: Hostname must not be empty or nullRedisAINull
- Property [title] does not exist on this collection instance
- MyBatis對映錯誤:There is no setter for property named xxxMyBatis
- vue+echarts報錯Cannot read property ‘init‘ of underfinedVueEcharts
- vue-property-decoratorVue
- [譯] 避免那些可惡的 "cannot read property of undefined" 錯誤Undefined
- Cannot set property ‘type‘ of null(vue)NullVue
- ORA-38760: This database instance failed to turn on flashback database 錯誤解決DatabaseAI
- mongodb報錯:the limit must be specified as a number。MongoDBMIT
- Vue-Property-Decorator原始碼分析Vue原始碼
- vue-property-decorator使用指南Vue
- vue-property-decorator基礎教程Vue
- 裝飾器vue-property-decoratorVue
- 訪問資料庫出現Object reference not set to an instance of an object錯誤資料庫Object
- Spring boot ElasticSearch,出現ElasticsearchRepository.refresh()! No property refresh found for type錯誤...Spring BootElasticsearch
- MYSQL錯誤程式碼:1248 Every derived table must have its own alias 解決MySql
- 建立data guard備庫的instance時,報ORA-09925錯誤的處理誤
- Vue packages version conflicts 錯誤修復VuePackage
- 前端錯誤收集(Vue.js、微信小程式)前端Vue.js微信小程式
- vue2匯入專案遇到錯誤Vue
- 怎樣解決 [Vue warn]: The computed property "count" is already defined in data. 報錯問題?Vue
- Xtrabackup恢復時報錯'Error: datadir must be specified'Error
- 前端報錯:cannot read property length of undefined前端Undefined
- jQuery :visiblejQuery
- 在vue使用異常處理做錯誤提示Vue
- 淺出Vue 錯誤處理機制errorCaptured、errorHandlerVueErrorAPT
- vue3 解決 ESLint 各型別錯誤VueEsLint型別
- 使用 Vue 3 時應避免的 10 個錯誤Vue
- 建立data guard備庫的instance時,報ORA-09925錯誤的處理
- 除錯記錄:The public type must be defined in its own file除錯
- 關於VHDL中Loop State error...loop must terminate within 10,000 iterations錯誤解決方法OOPError
- 一個 Vue 地圖元件錯誤引發的思考Vue地圖元件
- 前端錯誤監控 -【Vue】與【Sentry】的結合前端Vue