st-comp 0.0.128 → 0.0.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.128",
4
+ "version": "0.0.129",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -312,7 +312,7 @@ const getMainData = async () => {
312
312
  params.limit = defaultShowCounts + addCounts
313
313
  } else {
314
314
  // 未传入时间,使用最新时间作为结束时间请求数据
315
- params.endTime = dayjs().format('YYYY-MM-DD HH:mm:ss')
315
+ params.endTime = dayjs().add(1, "hour").format('YYYY-MM-DD HH:mm:ss')
316
316
  params.limit = defaultShowCounts + addCounts
317
317
  }
318
318
  const res = await getKlineBasic(params)
@@ -1,7 +1,7 @@
1
1
  import axios from "axios";
2
2
 
3
3
  const token = "490cdb08082fe518cdfa476bd53edc86";
4
- const host = "http://127.0.0.1:7001";
4
+ const host = "http://192.168.12.38:5173";
5
5
 
6
6
  // 获取指标线配置
7
7
  export const getIndicator = async () => {
@@ -32,7 +32,7 @@
32
32
  :mainIndicator="mainIndicator"
33
33
  :indicatorStore="indicatorStore"
34
34
  :config="config"
35
- :env="{ VITE_BASE_URL: 'http://127.0.0.1:7001' }"
35
+ :env="{ VITE_BASE_URL: 'http://192.168.12.38:5173' }"
36
36
  />
37
37
  </div>
38
38
  </div>