Browse Source

修改dayjs引用

gepangpang 10 months ago
parent
commit
5f19d909e3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.production
  2. 1 1
      src/views/depth/index.vue

+ 1 - 1
.env.production

@@ -1 +1 @@
-VITE_API_BASE_URL = "http://kline.skyfffire.com/priceCollect"
+VITE_API_BASE_URL = "http://kline.skyfffire.com:82/priceCollect"

+ 1 - 1
src/views/depth/index.vue

@@ -37,7 +37,7 @@
 <script lang="ts" setup>
 import { ref, shallowRef, reactive, watch, onUnmounted } from "vue";
 import { init, getInstanceByDom } from "echarts";
-import * as dayjs from "dayjs";
+import dayjs from "dayjs";
 import { get_exchange, get_coin, get_depth, get_incremental_depth } from "@/api";
 
 let pageLoading = ref(true);