mirror of
https://github.com/Geniusay/ChopperBot.git
synced 2026-06-03 13:21:20 +08:00
前端小bug修复
This commit is contained in:
@@ -235,15 +235,15 @@ const description = ref("");
|
||||
const editDialog = ref(false);
|
||||
|
||||
onMounted(async () => {
|
||||
await initFollowDog();
|
||||
cards.value = await initFollowDog();
|
||||
initColumns();
|
||||
cards.value = hotRecommendStore.followDogs;
|
||||
parseCards(hotRecommendStore.followDogs);
|
||||
});
|
||||
// Init 模块类型
|
||||
const initFollowDog = async()=>{
|
||||
await getFollowDogs().then(res=>{
|
||||
return await getFollowDogs().then(res=>{
|
||||
hotRecommendStore.followDogs = res.data['list'];
|
||||
return res.data['list'];
|
||||
})
|
||||
}
|
||||
// Init 配置文件
|
||||
|
||||
@@ -25,6 +25,7 @@ follows.value = liveFollowStore.liveFollowList
|
||||
onMounted(async () => {
|
||||
await followList().then(res=>{
|
||||
liveFollowStore.liveFollowList = res.data['list']
|
||||
follows.value = liveFollowStore.liveFollowList
|
||||
})
|
||||
setTimeout(() => {
|
||||
loading.value = false;
|
||||
|
||||
Reference in New Issue
Block a user