feat(home): 添加获取艺术品列表功能并优化直播相关逻辑
-引入 getArtworkList 方法,用于获取艺术品列表 - 在 changeLive 方法中添加获取艺术品列表的调用 - 移除未使用的 showMinWindow1 导入
This commit is contained in:
parent
f1e4601f7c
commit
0c3f5f7379
@ -5,13 +5,12 @@ import ItemList from './components/ItemList/index.vue'
|
|||||||
import Cescribe from './components/Cescribe/index.vue'
|
import Cescribe from './components/Cescribe/index.vue'
|
||||||
import {message} from '@/components/x-message/useMessage.js'
|
import {message} from '@/components/x-message/useMessage.js'
|
||||||
import {liveStore} from "~/stores/live/index.js";
|
import {liveStore} from "~/stores/live/index.js";
|
||||||
import { showMinWindow1} from "~/components/floatingBubble/floating.js";
|
const {getAuctionDetail, auctionDetail,getArtworkList} = goodStore();
|
||||||
|
|
||||||
const {getAuctionDetail, auctionDetail} = goodStore();
|
|
||||||
const {fullLive} = liveStore()
|
const {fullLive} = liveStore()
|
||||||
const changeLive = () => {
|
const changeLive = () => {
|
||||||
if (auctionDetail.value.isLiving===1){
|
if (auctionDetail.value.isLiving===1){
|
||||||
fullLive.value = true;
|
fullLive.value = true;
|
||||||
|
getArtworkList(true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user