Commit 79303072 by 胡悦

修改

1 parent 5ec90318
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-05-12 15:26:33 * @Date: 2023-05-12 15:26:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-05-22 15:36:00 * @LastEditTime: 2023-05-22 15:51:02
--> -->
<template> <template>
<div class="banner-header"> <div class="banner-header">
...@@ -116,13 +116,10 @@ const data = reactive<Partial<ServeiceDataInfo>>({ ...@@ -116,13 +116,10 @@ const data = reactive<Partial<ServeiceDataInfo>>({
}); });
const getInfo = async () => { const getInfo = async () => {
const reportInfo = data.reportInfo = await djReq( data.reportInfo = await djReq(
"dj.api.quotation.smartcarlife.vd.service.battlefield", "dj.api.quotation.smartcarlife.vd.service.battlefield",
query query
); );
if (reportInfo.yesterdayTurnover) {
data.reportInfo = reportInfo
}
}; };
const getImageUrl = (name: any, path = "equity") => { const getImageUrl = (name: any, path = "equity") => {
return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl) return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-05-12 15:26:33 * @Date: 2023-05-12 15:26:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-05-22 15:36:26 * @LastEditTime: 2023-05-22 15:51:16
--> -->
<template> <template>
<div class="banner-header"> <div class="banner-header">
...@@ -116,13 +116,10 @@ const data = reactive<Partial<DataInfo>>({ ...@@ -116,13 +116,10 @@ const data = reactive<Partial<DataInfo>>({
}); });
const getInfo = async () => { const getInfo = async () => {
const reportInfo = await djReq( data.reportInfo = await djReq(
"dj.api.quotation.smartcarlife.vd.merchant.battlefield", "dj.api.quotation.smartcarlife.vd.merchant.battlefield",
query query
); );
if (reportInfo.yesterdayTurnover) {
data.reportInfo = reportInfo
}
}; };
const getImageUrl = (name: any, path = "equity") => { const getImageUrl = (name: any, path = "equity") => {
return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl) return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!