Browse Source

*修改tab判断

release_0.0.1
wanyiwei 3 years ago
parent
commit
0203bb8270
  1. 4
      web/client/src/sections/fillion/components/maintenanceTable.js
  2. 4
      web/client/src/sections/fillion/components/patrolTable.js

4
web/client/src/sections/fillion/components/maintenanceTable.js

@ -99,7 +99,7 @@ for (let i = 0; i < 10; i += 1) {
const IPList = (props) => {
const PatrolNameList = (props) => {
const { onChange, patrolName } = props;
const columns = [
@ -179,7 +179,7 @@ const MaintenanceTable = () => {
return (
<div className='card-protable'>
<Card >
<IPList onChange={(searchPatrolName) => setPatrolName(searchPatrolName)} patrolName={patrolName} />
<PatrolNameList onChange={(searchPatrolName) => setPatrolName(searchPatrolName)} patrolName={patrolName} />
</Card>
<Card
style={{ flex: 1 }}

4
web/client/src/sections/fillion/components/patrolTable.js

@ -99,7 +99,7 @@ for (let i = 0; i < 10; i += 1) {
const IPList = (props) => {
const PatrolNameList = (props) => {
const { onChange, patrolName } = props;
const columns = [
@ -182,7 +182,7 @@ const PatrolTable = () => {
return (
<div className='card-protable'>
<Card >
<IPList onChange={(searchPatrolName) => setPatrolName(searchPatrolName)} patrolName={patrolName} />
<PatrolNameList onChange={(searchPatrolName) => setPatrolName(searchPatrolName)} patrolName={patrolName} />
</Card>
<Card
style={{ flex: 1 }}

Loading…
Cancel
Save