fix:【数据源】修复Api分页问题

This commit is contained in:
taojinlong
2024-12-27 16:59:08 +08:00
committed by taojinlong
parent 2d6ed43e2f
commit 10bf94917c
2 changed files with 9 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ const timeFunLists = [
<el-select
v-model="element.value"
v-if="!needMock && activeName === 'table' && element.nameType === 'params'"
style="width: 100%"
>
<el-option
v-for="item in valueList"
@@ -186,6 +187,7 @@ const timeFunLists = [
<el-select
v-model="element.value"
v-if="!needMock && activeName === 'table' && element.nameType === 'timeFun'"
style="width: 100%"
>
<el-option
v-for="item in timeFunLists"

View File

@@ -134,6 +134,10 @@ const pageParams = [
{
label: '${pageSize}',
value: '${pageSize}'
},
{
label: '${pageToken}',
value: '${pageToken}'
}
]
const timeFunLists = [
@@ -216,6 +220,7 @@ const timeFunLists = [
<el-select
v-model="element.value"
v-if="!needMock && activeName === 'table' && element.nameType === 'params'"
style="width: 100%"
>
<el-option
v-for="item in valueList"
@@ -227,6 +232,7 @@ const timeFunLists = [
<el-select
v-model="element.value"
v-if="!needMock && activeName === 'table' && element.nameType === 'timeFun'"
style="width: 100%"
>
<el-option
v-for="item in timeFunLists"
@@ -238,6 +244,7 @@ const timeFunLists = [
<el-select
v-model="element.value"
v-if="!needMock && activeName === 'table' && element.nameType === 'pageParams'"
style="width: 100%"
>
<el-option
v-for="item in pageParams"