update:2024-07-06 9:50:52 AutoCommit
This commit is contained in:
1 parent
0a56f8b5d5
commit
222b0ac434
7 files changed
+201
-6
No files matched your search
+14
-1
@@ -9,6 +9,16 @@
|
||||
```ts
|
||||
import TabList from '@/components/tabList.vue'
|
||||
```
|
||||
其中tabs的格式如下
|
||||
```ts
|
||||
const tabs = ref([
|
||||
{
|
||||
label: '教师作品',
|
||||
value: 'teacherWorks'
|
||||
}
|
||||
])
|
||||
```
|
||||
作用为生成一个标签页
|
||||
|
||||
---
|
||||
|
||||
@@ -55,4 +65,7 @@ const scrollLoadProps = computed(() => {
|
||||
}
|
||||
})
|
||||
```
|
||||
具体为到底时使用传入的api请求一组数据,然后传回的data可以通过fetchEnd或是default插槽进行处理
|
||||
具体为到底时使用传入的api请求一组数据,然后传回的data可以通过fetchEnd或是default插槽进行处理,有时候需要对传回的数据进行预处理才不会报错(因为后端的数据格式可能不会对上scroolList的格式)
|
||||
|
||||
---
|
||||
# 接口使用相关
|
||||
Reference in new issue
Block a user