iview bug合集 (持续跟新,欢迎订阅)

1. iview上弹窗tabs栏高度变高

 解决方案

 <Tabs name="tab2" :animated="false" class="f-mt40">
加上 animated属性

2.echats柱状上显示所有的数据

解决方案,提供子组件封装的代码

<template>
  <!-- 竖柱状图 -->
  <div ref="main" style="width: auto; height: 600px"></div>
</template>

<script>
export default {
  props: {
    viewData: {
      type: Object,
      default: null,
    },
  },
  data() {
    return {
      seriesColor: [
        "#90d66d",
        "#1fb1ff",
        "#fe9834",
        "#fc7f7d",
        "#FF6600",
        "#d3df72&

猜你喜欢

转载自blog.csdn.net/weixin_42066070/article/details/131127419