本文介绍: 此报错echarts 报错错误原因:将挂载函数写在 created 中了,只需将函数 移至 mounted 中就好。

记录一个报错

报错echarts 报错错误原因:将挂载函数写在 created 中了,只需将函数 移至 mounted 中就好

 created() {
    // this.initCharts();
  },
  mounted() {
    this.initCharts();
  },

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注