zhou.xiaoning 4 роки тому
батько
коміт
2cc0dda809

+ 2 - 2
src/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/setup.ts

@@ -133,7 +133,7 @@ export function handleNumAndPrice() {
  * 查询市场板块,用于挂牌时挂牌方式选择,替代之前的“一口价、浮动价和贸易圈”
  */
 export function queryMarketSection(isPre: boolean) {
-    const spotMarkets = ref<TjmdMarketSection[]>([]); 
+    const spotMarkets = ref<TjmdMarketSectionConfig[]>([]); 
     queryTjmdMarketSection().then(res => {
         let resMarkets: TjmdMarketSectionConfig[] = []
         res.forEach(item => { resMarkets.push(...item.mlist) })
@@ -147,6 +147,6 @@ export function queryMarketSection(isPre: boolean) {
             markets.findIndex(m => m.marketid == item.marketid) !== -1
         })
 
-        spotMarkets.value = res
+        spotMarkets.value = resMarkets
     })
 }