给Echarts添加遮罩层

Posted 1024_Byte

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了给Echarts添加遮罩层相关的知识,希望对你有一定的参考价值。

 

    this.$refs['rainChart'].showLoading(
        text: '请稍后......',
        color: '#327EF3',
        textColor: '#327EF3',
        maskColor: 'rgba(28,31,99,0.31)'
      )
 this.$refs['rainChart'].hideLoading();

以上是关于给Echarts添加遮罩层的主要内容,如果未能解决你的问题,请参考以下文章