fix style

This commit is contained in:
Qiuxia Fan 2022-03-30 21:03:49 +08:00
parent 31bbed581b
commit 6fb9f80383

View File

@ -13,12 +13,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. --> limitations under the License. -->
<template> <template>
<div <div ref="chartRef" :style="`height:${height};width:${width};`">
v-if="available" <div v-if="!available" class="no-data">No Data</div>
ref="chartRef" </div>
:style="`height:${height};width:${width};`"
></div>
<div v-else class="no-data">No Data</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { import {
@ -93,5 +90,6 @@ onBeforeUnmount(() => {
-webkit-box-orient: horizontal; -webkit-box-orient: horizontal;
-webkit-box-pack: center; -webkit-box-pack: center;
-webkit-box-align: center; -webkit-box-align: center;
color: #666;
} }
</style> </style>