Sfoglia il codice sorgente

Merge branch 'v20' of http://192.168.31.240:3000/MTP2.0_New/MTP20_WEB_GLOBAL into v20

li.shaoyi 3 mesi fa
parent
commit
f1794d0588

+ 1 - 1
src/packages/pc/components/modules/goods-detail/chart/index.vue

@@ -5,7 +5,7 @@
         </div>
         <el-scrollbar class="block-right">
             <Price v-bind="{ goodsCode }" />
-            <Forex v-if="![10, 53].includes(trademode)" v-bind="{ goodsCode }" />
+            <Forex v-if="![10, 53, 54].includes(trademode)" v-bind="{ goodsCode }" />
             <Tik v-bind="{ goodsCode }" />
         </el-scrollbar>
     </div>

+ 1 - 1
src/packages/pc/components/modules/quote/tik/index.vue

@@ -66,7 +66,7 @@ useRequest(queryMarketRun, {
 // 监听行情推送
 quoteWatch(props.goodsCode, (quote) => {
     const { last = 0, lasttime = '', lastvolume = 0 } = quote
-    if (last && (lastvolume || [10, 52, 53, 97, 99].includes(quoteDay.value?.trademode ?? 0))) {
+    if (last && (lastvolume || [10, 52, 53, 54, 97, 99].includes(quoteDay.value?.trademode ?? 0))) {
         const list = dataList.value
         if (list.length > 29) {
             // 移除列表最后一条记录