feat(home): 添加获取艺术品列表功能并优化直播相关逻辑

-引入 getArtworkList 方法,用于获取艺术品列表
- 在 changeLive 方法中添加获取艺术品列表的调用
- 移除未使用的 showMinWindow1 导入
This commit is contained in:
xingyy 2025-02-20 14:53:43 +08:00
parent f1e4601f7c
commit 0c3f5f7379

View File

@ -5,13 +5,12 @@ import ItemList from './components/ItemList/index.vue'
import Cescribe from './components/Cescribe/index.vue'
import {message} from '@/components/x-message/useMessage.js'
import {liveStore} from "~/stores/live/index.js";
import { showMinWindow1} from "~/components/floatingBubble/floating.js";
const {getAuctionDetail, auctionDetail} = goodStore();
const {getAuctionDetail, auctionDetail,getArtworkList} = goodStore();
const {fullLive} = liveStore()
const changeLive = () => {
if (auctionDetail.value.isLiving===1){
fullLive.value = true;
getArtworkList(true)
}
}