【fix ESLint】src/components/chart

This commit is contained in:
danshihao
2023-03-03 14:44:38 +08:00
parent 6a087fff48
commit 90b48301da
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<div :style="{'width':width==null?'auto':width+'px'}">
<v-chart :forceFit="width==null" :height="height" :data="data" padding="0">
<div :style="{'width':width===null?'auto':width+'px'}">
<v-chart :forceFit="typeof width !== 'number'" :height="height" :data="data" padding="0">
<v-tooltip/>
<v-bar position="x*y"/>
</v-chart>