Skip to content

Commit

Permalink
查询不重置pageSize (#1940)
Browse files Browse the repository at this point in the history
* 查询不重置pageSize
  • Loading branch information
zayn-code authored Nov 18, 2024
1 parent 4671013 commit 8073e98
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion server/resource/package/web/view/table.vue.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,6 @@ const onSubmit = () => {
elSearchFormRef.value?.validate(async(valid) => {
if (!valid) return
page.value = 1
pageSize.value = 10
{{- range .Fields}}{{- if eq .FieldType "bool" }}
if (searchInfo.value.{{.FieldJson}} === ""){
searchInfo.value.{{.FieldJson}}=null
Expand Down
1 change: 0 additions & 1 deletion server/resource/plugin/web/view/view.vue.template
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,6 @@ const onSubmit = () => {
elSearchFormRef.value?.validate(async(valid) => {
if (!valid) return
page.value = 1
pageSize.value = 10
{{- range .Fields}}{{- if eq .FieldType "bool" }}
if (searchInfo.value.{{.FieldJson}} === ""){
searchInfo.value.{{.FieldJson}}=null
Expand Down
1 change: 0 additions & 1 deletion web/src/plugin/announcement/view/info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,6 @@
elSearchFormRef.value?.validate(async (valid) => {
if (!valid) return
page.value = 1
pageSize.value = 10
getTableData()
})
}
Expand Down
1 change: 0 additions & 1 deletion web/src/view/superAdmin/api/api.vue
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,6 @@
const onSubmit = () => {
page.value = 1
pageSize.value = 10
getTableData()
}
Expand Down
1 change: 0 additions & 1 deletion web/src/view/superAdmin/operation/sysOperationRecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
// 条件搜索前端看此方法
const onSubmit = () => {
page.value = 1
pageSize.value = 10
if (searchInfo.value.status === '') {
searchInfo.value.status = null
}
Expand Down
1 change: 0 additions & 1 deletion web/src/view/superAdmin/params/sysParams.vue
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@
elSearchFormRef.value?.validate(async (valid) => {
if (!valid) return
page.value = 1
pageSize.value = 10
getTableData()
})
}
Expand Down
1 change: 0 additions & 1 deletion web/src/view/systemTools/exportTemplate/exportTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,6 @@ JOINS模式下不支持导入
elSearchFormRef.value?.validate(async (valid) => {
if (!valid) return
page.value = 1
pageSize.value = 10
getTableData()
})
}
Expand Down

0 comments on commit 8073e98

Please sign in to comment.