From d38dc481492878c04ddf2d6bc2e9bf7d44c57fd7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 23 十二月 2019 18:29:38 +0800 Subject: [PATCH] 2019-12-23 --- src/tabviews/subtable/index.jsx | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx index 87912f2..ad1d646 100644 --- a/src/tabviews/subtable/index.jsx +++ b/src/tabviews/subtable/index.jsx @@ -15,9 +15,9 @@ export default class NormalTable extends Component { static propTpyes = { - MenuNo: PropTypes.string, // 鑿滃崟鍙傛暟 - MenuName: PropTypes.string, // 鑿滃崟鍙傛暟 - MenuID: PropTypes.string // 鑿滃崟Id + BID: PropTypes.string, // 涓婄骇鏁版嵁ID + MenuID: PropTypes.string, // 鑿滃崟Id + SupMenuID: PropTypes.string // 涓婄骇鑿滃崟Id } state = { @@ -51,7 +51,7 @@ MenuID: this.props.MenuID } let result = await Api.getSystemCacheConfig(param) - if (result.status && result.LongParam) { + if (result.status) { let config = '' try { // 閰嶇疆淇℃伅瑙f瀽 @@ -63,10 +63,15 @@ // 椤甸潰閰嶇疆瑙f瀽閿欒鏃舵彁绀� if (!config) { - notification.warning({ - top: 92, - message: this.state.dict['main.page.settingerror'], - duration: 10 + // notification.warning({ + // top: 92, + // message: this.state.dict['main.page.settingerror'], + // duration: 10 + // }) + this.setState({ + loadingview: false, + viewlost: true + // lostmsg: this.state.dict['main.page.settingerror'] }) return } @@ -483,6 +488,7 @@ <SubAction ref="subButton" MenuID={this.props.MenuID} + BID={this.props.BID} setting={setting} refreshdata={this.refreshbyaction} gettableselected={this.gettableselected} -- Gitblit v1.8.0