<div v-if="grade<3" ref="gradeChart" style="height: 220px;width: 300px;margin:0 auto;">
mounted() {
this.$nextTick(() => {
setTimeout(()=>{
let map1=this.initEchartMap(this.gjfsx);
console.log(this.$refs.gradeChart,"ddkiiok")
},50)
})
The solution is to change V-IF to v-show, and the console will not report an error
<div v-show="grade<3" ref="gradeChart" style="height: 220px;width: 300px;margin:0 auto;">
Read More:
- Vue console reports an error duplicate keys detected: ‘XXXX’. This may cause an update error. Solution
- Vue references echats and reports an error initialize failed: invalid DOM
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- In chome browser, console reports an error but does not display it
- Vue reports an error sasserror: expected newline
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- The problem that the El icons icon cannot be displayed in vue3 + element plus + vite
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- Vue router click the menu bar and the same module reports an error Vue router.esm.js? 2215:2065 Uncaught (in promise) Error
- Vue introduces ecarts, init initializes and reports an error
- When a system is deployed on weblogic12.2.1.3, it reports an error “IllegalStateException zip file closed”. When it is deployed on weblogic12.2.1.2, it does not report an error and can be accessed normally.
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- The Vue parent component uses ref to call the sub component method and reports an error
- Selenium reports an error and solves the problem of element not interactive exception, element not interactive
- Vue install reports an error operation not allowed
- Vue agent reports an Error 404 nginx configuration method
- Vue + TS reports an error after configuring the path alias
- Vue introduction path is correct, but it always reports an error: already included file name‘ ××ב differs from file name ‘ ××ב only in casing.
- Vue Alain startup command yarn serve reports an error