🎈 per: 优化代码并修复bug
This commit is contained in:
parent
eb68c41abf
commit
79088a1857
|
@ -12,13 +12,12 @@ import menu from "@/assets/enum.js"
|
|||
import Grid from "@/components/gird/main.js"
|
||||
import Ipt from "@/components/input/main"
|
||||
import TabPage from "@/components/tabPage/main.js"
|
||||
import { commonSearchOrder } from "@/tools/apiTools.js" // 公用接口函数
|
||||
import React from "react"
|
||||
import { Button, CombinedDateRangePicker, Notify, Sweetalert, Switch } from "zent"
|
||||
import "./list.less"
|
||||
import { Column, tabList } from "./util"
|
||||
|
||||
import { commonSearchOrder } from "@/tools/apiTools.js" // 公用接口函数
|
||||
|
||||
export default class acclist extends React.Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
|
@ -171,8 +170,7 @@ export default class acclist extends React.Component {
|
|||
}
|
||||
|
||||
tabFn(index) {
|
||||
this.setState({ tabIndex: index, key_word: "" })
|
||||
this.setState({ page: 1, limit: 10 })
|
||||
this.setState({ tabIndex: index, key_word: "", page: 1, limit: 10 })
|
||||
setTimeout(() => {
|
||||
this.getCodeListFn({}, index)
|
||||
}, 10)
|
||||
|
@ -251,9 +249,7 @@ export default class acclist extends React.Component {
|
|||
})
|
||||
}
|
||||
})
|
||||
} catch (err) {
|
||||
console.log("exchangecode/list =>", err)
|
||||
}
|
||||
} catch (err) {}
|
||||
}
|
||||
|
||||
//点击启用/禁用
|
||||
|
|
Loading…
Reference in New Issue