Skip to content

Commit

Permalink
feat&build(依赖包):将echarts依赖替换为min版
Browse files Browse the repository at this point in the history
  • Loading branch information
yamasakura committed Oct 28, 2024
1 parent d9b0ba9 commit 029b012
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 28 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="/src/assets/js/echarts.min.js"></script>
<title>明日方舟一图流</title>
</head>
<script>
Expand Down
23 changes: 0 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"axios": "1.6.7",
"connect-history-api-fallback": "^2.0.0",
"crypto-js": "4.2.0",
"echarts": "5.0.0",
"element-plus": "2.6.0",
"express": "4.18.2",
"js-cookie": "3.0.5",
Expand Down
1 change: 1 addition & 0 deletions src/assets/js/echarts.min.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/custom/collapse-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

<script setup>
import {watch,onMounted} from "vue";
import {error} from "echarts/lib/util/log.js";
const emit = defineEmits(["update:visible"]);
const props = defineProps(["modelValue", "visible", "name",'style']);
Expand Down
1 change: 0 additions & 1 deletion src/pages/survey/maarecruitdata.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@

<script>
import toolApi from "/src/api/tool";
import * as echarts from "echarts";
import "/src/assets/css/poster.css";
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tools/gachaCalc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { h, onMounted, ref } from "vue";
import '/src/assets/css/tool/gacha_calc.scss'
import '/src/assets/css/sprite/sprite_plane_icon.css'
import '/src/assets/css/tool/gacha_calc.phone.scss'
import * as echarts from "echarts";
// import * as echarts from "echarts";
import POTENTIAL_TABLE from '/src/static/json/tools/potential_gacha_resources.json'
import HONEY_CAKE_TABLE from '/src/static/json/tools/schedule_by_honeycake.json'
Expand Down
1 change: 0 additions & 1 deletion src/pages/video-material/detail.page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
<script setup>
import "/src/assets/css/stageDetail.css";
import stageApi from "/src/api/material";
import * as echarts from "echarts";
import {onMounted, ref} from "vue";
import {cMessage} from '/src/utils/Message'
import collapse from '/src/custom/collapse.vue'
Expand Down

0 comments on commit 029b012

Please sign in to comment.