From 1b0fd0a20d54068f0f4716177780e00a75b860ef Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 10 一月 2020 17:12:34 +0800 Subject: [PATCH] 2020-01-10 --- src/tabviews/rolemanage/index.jsx | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/tabviews/rolemanage/index.jsx b/src/tabviews/rolemanage/index.jsx index bf43834..e5fdeac 100644 --- a/src/tabviews/rolemanage/index.jsx +++ b/src/tabviews/rolemanage/index.jsx @@ -46,18 +46,18 @@ async loadmaindata (pageIndex = 1, pageSize = 10, orderColumn = '', orderType = '', search = '') { // 鑾峰彇鍒楄〃鏁版嵁 - let result = await Api.getMainTableData(this.props.MenuNo, pageIndex, pageSize, orderColumn, orderType, search) - if (result.status) { - this.setState({ - data: result.data.map((item, index) => { - item.key = index - item.rows = item.mkrows - return item - }), - total: result.total, - loading: false - }) - } + // let result = await Api.getMainTableData(this.props.MenuNo, pageIndex, pageSize, orderColumn, orderType, search) + // if (result.status) { + // this.setState({ + // data: result.data.map((item, index) => { + // item.key = index + // item.rows = item.mkrows + // return item + // }), + // total: result.total, + // loading: false + // }) + // } } UNSAFE_componentWillMount () { -- Gitblit v1.8.0