|
|
@@ -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
|
|
|
})
|
|
|
}
|