fix: bug#19132

This commit is contained in:
XieYongHong 2023-10-24 15:48:13 +08:00
parent 7cae540c88
commit f90ee686c1
2 changed files with 7 additions and 2 deletions

View File

@ -192,6 +192,12 @@ const columns = [
hideInTable: true,
search: {
type: 'treeSelect',
componentProps: {
fieldNames: {
label: 'name',
value: 'value',
},
},
options: () => new Promise((resolve) => {
getTreeData_api({ paging: false }).then((resp: any) => {
const formatValue = (list: any[]) => {
@ -260,4 +266,4 @@ const handleClick = (detail: any) => {
padding-right: 0px;
padding-left: 0px;
}
</style>
</style>

View File

@ -263,7 +263,6 @@ const productQuery = (p: any) => {
}
sorts.push({ name: 'createTime', order: 'desc' });
p.sorts = sorts;
console.log('productQuery',p)
return queryProductList(p);
};