fix: improve type introduction, fix #1196

This commit is contained in:
vben 2021-09-13 23:46:09 +08:00
parent 9640484895
commit 2820d5a627

View File

@ -4,8 +4,9 @@
</Card> </Card>
</template> </template>
<script lang="ts"> <script lang="ts">
import { defineComponent, Ref, ref, watch } from 'vue'; import type { Ref } from 'vue';
import { defineComponent, ref, watch } from 'vue';
import { Card } from 'ant-design-vue'; import { Card } from 'ant-design-vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts';