update: 打包优化

This commit is contained in:
admin 2024-04-11 14:20:52 +08:00
parent 482a95a678
commit 3e7542be4a
3 changed files with 0 additions and 43 deletions

View File

@ -1,41 +0,0 @@
<template>
<dom-echart :moduleParam="moduleParam1" :optionData="option"></dom-echart>
</template>
<script>
import domEchart from "@/components/echarts.vue";
export default {
//
components: {
domEchart,
},
data() {
return {
moduleParam1: {
id: "moId1",
height: "50vh",
width: "100%",
},
option: {
title: {
text: "销售",
},
tooltip: {},
legend: {
data: ["销量"],
},
xAxis: {
data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"],
},
yAxis: {},
series: [
{
name: "销量",
type: "bar",
data: [5, 20, 36, 10, 10, 20],
},
],
},
};
},
};
</script>

View File

@ -1,9 +1,7 @@
import AvaSwiper from '@/components/AvaSwiper/AvaSwiper.vue'
import NavBar from '@/components/NavBar/NavBar.vue'
import NavBarLayout from '@/components/NavBar/NavBarLayout.vue'
declare module '@vue/runtime-core' {
export interface GlobalComponents {
AvaSwiper: typeof AvaSwiper;
NavBar: typeof NavBar;
NavBarLayout: typeof NavBarLayout
}