update: 将echarts放入分包中

This commit is contained in:
admin 2024-04-11 14:28:00 +08:00
parent eff4b8b6c1
commit 941518384e
23 changed files with 4 additions and 4 deletions

View File

@ -7,13 +7,13 @@
></LEchart>
</template>
<script setup lang="ts">
import LEchart from "../../uni_modules/lime-echart/components/l-echart/l-echart.vue";
import LEchart from "../uni_modules/lime-echart/components/l-echart/l-echart.vue";
// import limeEchart from "../../uni_modules/lime-echart/components/lime-echart/lime-echart";
// #ifdef VUE3
// #ifdef MP
// vue3 使vite umd使使require
const echarts = require("../../uni_modules/lime-echart/static/echarts.min");
const echarts = require("../uni_modules/lime-echart/static/echarts.min");
// #endif
// #ifndef MP
// vue3 使vite umdnpm

View File

@ -54,7 +54,7 @@
</template>
<script setup lang="ts">
import TimeDialog from "./components/TimeDialog.vue";
import CEcharts from "@/components/Echarts/echarts.vue";
import CEcharts from "./Echarts/echarts.vue";
import ProductTypeDialog from "./components/ProductTypeDialog.vue";
import { formatDate, getCurrentMonthStartAndEnd } from "@/utils";
import { ShipmentApi } from "@/services";

View File

@ -50,7 +50,7 @@
</template>
<script setup lang="ts">
import TimeDialog from "./components/TimeDialog.vue";
import CEcharts from "@/components/Echarts/echarts.vue";
import CEcharts from "./Echarts/echarts.vue";
import ProductTypeDialog from "./components/ProductTypeDialog.vue";
import { ReceiveApi } from "@/services";
import { formatDate, getCurrentMonthStartAndEnd } from "@/utils";