Commit 66e770ac by fukai

修复IE兼容性问题

parent 828a06f0
......@@ -133,7 +133,7 @@ export class LeadPage extends Component
<Col span={3}/>
<Col span={18}>
<Table columns={this.columns} dataSource={this.state.fil?mty.filter(item=>item.mty.startsWith('mt'+this.state.fil)):mty} />
<Table columns={this.columns} dataSource={this.state.fil?mty.filter(item=>item.mty.indexOf('mt'+this.state.fil)==0):mty} />
</Col>
<Col span={3}/>
......
......@@ -12,9 +12,9 @@ const code2 = ["ISSUE","REQUEST"]
export default function(props)
{
let {mty} = props
if(mtys1.findIndex(m=>m==mty)>= 0)
if(mty=='mt752')
return <T23_1 {...props} SELCode={code1} />
if(mtys2.findIndex(m=>m==mty)>= 0)
if(mty== 'mt760' || mty == 'mt767')
return <T23_1 {...props} SELCode={code2} />
return <T23_d {...props} />
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment