添加朋友圈功能
This commit is contained in:
@@ -6,10 +6,13 @@
|
||||
import { navigateTo } from '@/utils/router'
|
||||
|
||||
const list = ref([])
|
||||
const loading = ref(true)
|
||||
const getData = async () => {
|
||||
loading.value = true
|
||||
const res = await getMyGroupList()
|
||||
list.value = res.data
|
||||
console.log(res.data)
|
||||
loading.value = false
|
||||
}
|
||||
|
||||
const onGo = id => {
|
||||
@@ -22,7 +25,8 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<view class="shop-together">
|
||||
<view v-if="!loading" class="shop-together">
|
||||
<cb-empty v-if="!loading && list.length === 0"></cb-empty>
|
||||
<view
|
||||
v-for="item in list"
|
||||
:key="item.id"
|
||||
|
||||
Reference in New Issue
Block a user