mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
fix:【数据源】修复Api分页问题
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user