提交 7457b375 authored 作者: 李仕聪's avatar 李仕聪

feat: 没有搜搜条件隐藏[查询]按钮

上级 2b669dcd
/* /*
* @Author: LSC * @Author: LSC
* @Date: 2024-08-09 10:02:04 * @Date: 2024-08-09 10:02:04
* @LastEditTime: 2024-08-09 13:39:28 * @LastEditTime: 2024-08-13 09:37:38
*/ */
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { Button, Table, Input } from 'antd'; import { Button, Table, Input } from 'antd';
...@@ -67,6 +67,8 @@ export const PageTable = (props) => { ...@@ -67,6 +67,8 @@ export const PageTable = (props) => {
get === 'mobile' ? '100%' : !!Number(modalWidth) ? Number(modalWidth) : modalWidth || '90%'; get === 'mobile' ? '100%' : !!Number(modalWidth) ? Number(modalWidth) : modalWidth || '90%';
return ( return (
<> <>
{
columns3?.filter((y) => y?.isQuery)?.length > 0 &&
<div <div
className={styles.searchGrid} className={styles.searchGrid}
style={{ style={{
...@@ -93,6 +95,7 @@ export const PageTable = (props) => { ...@@ -93,6 +95,7 @@ export const PageTable = (props) => {
查询 查询
</Button> </Button>
</div> </div>
}
<div> <div>
{isMultiple && {isMultiple &&
isShowQuanXuan !== false && ( isShowQuanXuan !== false && (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论