Karsa 3 lat temu
rodzic
commit
69e4fef166
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/chartShow/index.vue

+ 1 - 1
src/views/chartShow/index.vue

@@ -11,7 +11,7 @@
         element-loading-spinner="el-icon-loading"
         element-loading-text="加载中..."
       >
-        <chart :options="options" :chartId="chartInfo.ChartInfoId" />
+        <chart :options="options" :chartId="chartInfo.ChartInfoId || 0" />
       </div>
     </template>
     <div class="chart-wrapper notfound" v-else>