We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
版本号:"@jeecg/online": "3.7.0-beta",
问题描述:查询条件带默认值,清除默认值时查询后,点击分页数字查询时,清除的条件又带了回来,导致查询有误
项目代码如下: export const searchFormSchema: FormSchemaItem[] = [ { field: 'status', component: 'SearchModal', defaultValue: defaultStatus, componentProps: { type: CodeTableType.STATUS, defaultValue: defaultAssetStatus, }, }, ]
组件有问题的代码如下: useDataSource.ts文件的async function fetch(opt?: FetchParams)方法 ...(useSearchForm ? await validate() : {}), 执行到validate()时把清空的默认条件又带了回来导致的问题
错误截图: 清空的查询条件又传到了后端
The text was updated successfully, but these errors were encountered:
使用BasicTable.vue组件时,组件的查询条件设置默认参数,查询前清空默认值,查询出数据。 然后,点击第二页的按钮,这时删除的默认值又带回来了
点击分页按钮,会把已经删除查询条件的默认值又带回来
Sorry, something went wrong.
@zhangdaiscott 大佬,能先帮看看这个问题么,影响比较大
前端版本号:3.7.0
No branches or pull requests
版本号:"@jeecg/online": "3.7.0-beta",
问题描述:查询条件带默认值,清除默认值时查询后,点击分页数字查询时,清除的条件又带了回来,导致查询有误
项目代码如下:
export const searchFormSchema: FormSchemaItem[] = [
{
field: 'status',
component: 'SearchModal',
defaultValue: defaultStatus,
componentProps: {
type: CodeTableType.STATUS,
defaultValue: defaultAssetStatus,
},
},
]
组件有问题的代码如下:
useDataSource.ts文件的async function fetch(opt?: FetchParams)方法
...(useSearchForm ? await validate() : {}), 执行到validate()时把清空的默认条件又带了回来导致的问题
错误截图:
清空的查询条件又传到了后端
The text was updated successfully, but these errors were encountered: