fix: echart import path

This commit is contained in:
Vben 2021-04-10 23:49:39 +08:00
parent 51a9f6b3da
commit 7e43d88f9c
10 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
import { defineComponent, Ref, ref, watch } from 'vue'; import { defineComponent, Ref, 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/index';
export default defineComponent({ export default defineComponent({
components: { Card }, components: { Card },

View File

@ -4,7 +4,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted, ref, Ref } from 'vue'; import { defineComponent, onMounted, ref, Ref } from 'vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts/index';
import { basicProps } from './props'; import { basicProps } from './props';
export default defineComponent({ export default defineComponent({

View File

@ -4,7 +4,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, onMounted, ref, Ref } from 'vue'; import { defineComponent, onMounted, ref, Ref } from 'vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts/index';
import { basicProps } from './props'; import { basicProps } from './props';
export default defineComponent({ export default defineComponent({

View File

@ -7,7 +7,7 @@
import { defineComponent, Ref, ref, watch } from 'vue'; import { defineComponent, Ref, 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/index';
export default defineComponent({ export default defineComponent({
components: { Card }, components: { Card },

View File

@ -7,7 +7,7 @@
import { defineComponent, Ref, ref, watch } from 'vue'; import { defineComponent, Ref, 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/index';
export default defineComponent({ export default defineComponent({
components: { Card }, components: { Card },

View File

@ -7,7 +7,7 @@
import { defineComponent, Ref, ref, watch } from 'vue'; import { defineComponent, Ref, 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/index';
export default defineComponent({ export default defineComponent({
components: { Card }, components: { Card },

View File

@ -4,7 +4,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts/index';
import { getLineData } from './data'; import { getLineData } from './data';
export default defineComponent({ export default defineComponent({

View File

@ -4,7 +4,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts/index';
import { mapData } from './data'; import { mapData } from './data';
import { registerMap } from 'echarts'; import { registerMap } from 'echarts';

View File

@ -4,7 +4,7 @@
<script lang="ts"> <script lang="ts">
import { defineComponent, PropType, ref, Ref, onMounted } from 'vue'; import { defineComponent, PropType, ref, Ref, onMounted } from 'vue';
import { useECharts } from '/@/hooks/web/useECharts'; import { useECharts } from '/@/hooks/web/useECharts/index';
export default defineComponent({ export default defineComponent({
props: { props: {

View File

@ -7,7 +7,7 @@
import { defineComponent, Ref, ref, watch } from 'vue'; import { defineComponent, Ref, 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/index';
export default defineComponent({ export default defineComponent({
components: { Card }, components: { Card },