Report "axis.getAxesOnZeroOf is not a function" when the echart diagram is initialized.

1 Error in mounted hook: "TypeError: axis.getAxesOnZeroOf is not a function"

is reported when the image is initialized.

2, code

    methods: {
        echartInit: function() {
            if (this.chartObj !== null && !this.chartObj.isDisposed() ) {
                echarts.dispose(this.chartObj)
            }
            var chart = document.getElementById("chart")
            this.chartObj = echarts.init(chart)
            var option = this.$store.getters["station/getEchartOption"]
            this.chartObj.setOption(option)
            var thisObj = this
            window.onresize = function() {
                thisObj.$store.dispatch("station/eChartContainer", chart)
                thisObj.chartObj.resize()
            }
        }
    }
    

Dec.08,2021

series is not worth it


my analysis is caused by a method problem, which is the result of my analysis: https://www.cnblogs.com/gzbit-zxx/p/12030974.html Welcome to check

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea7736-1e56.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea7736-1e56.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?