diff --git a/src/pages/list/card/components/Card.vue b/src/components/card/Card.vue similarity index 100% rename from src/pages/list/card/components/Card.vue rename to src/components/card/Card.vue diff --git a/src/pages/dashboard/detail/index.vue b/src/pages/dashboard/detail/index.vue index 46212ce..0d37d0f 100644 --- a/src/pages/dashboard/detail/index.vue +++ b/src/pages/dashboard/detail/index.vue @@ -65,7 +65,7 @@ import * as echarts from 'echarts/core'; import { GridComponent, TooltipComponent, LegendComponent } from 'echarts/components'; import { LineChart, ScatterChart } from 'echarts/charts'; import { CanvasRenderer } from 'echarts/renderers'; -import ProductCard from '@/pages/list/card/components/Card.vue'; +import ProductCard from '@/components/card/Card.vue'; import { changeChartsTheme, getFolderLineDataSet, getScatterDataSet } from '../base/index'; import { PANE_LIST_DATA, PRODUCT_LIST } from './constants'; diff --git a/src/pages/list/card/index.vue b/src/pages/list/card/index.vue index 5058308..cb1fba9 100644 --- a/src/pages/list/card/index.vue +++ b/src/pages/list/card/index.vue @@ -62,7 +62,7 @@ import { defineComponent, ref, computed, onMounted } from 'vue'; import { SearchIcon } from 'tdesign-icons-vue-next'; import { MessagePlugin } from 'tdesign-vue-next'; -import Card from './components/Card.vue'; +import Card from '@/components/card/Card.vue'; import DialogForm from './components/DialogForm.vue'; import request from '@/utils/request'; import { ResDataType } from '@/interface';