| | |
| | | |
| | | axios.interceptors.response.use((response) => { |
| | | if (response.data.ErrCode === 'LoginError') { |
| | | setCurrentUrl() |
| | | if (window.debugger === true) { |
| | | response.data.ErrCode = 'E' |
| | | return Promise.resolve(response.data) |
| | | } else { |
| | | setCurrentUrl() |
| | | } |
| | | } else { |
| | | return Promise.resolve(response.data) |
| | | } |
| | |
| | | </Form> |
| | | </TabPane> |
| | | </Tabs> : null} |
| | | {!card.intertype !== 'system' ? <Tabs defaultActiveKey="7" className="verify-card-box"> |
| | | {card.intertype !== 'system' ? <Tabs defaultActiveKey="7" className="verify-card-box"> |
| | | <TabPane tab="信息提示" key="7"> |
| | | <Form {...formItemLayout}> |
| | | <Row gutter={24}> |
| | |
| | | */ |
| | | static updateCommonTable (config) { |
| | | if (!config.version || config.version < '1.0') { |
| | | config.version = '1.0' |
| | | // 兼容标签 |
| | | if (!config.tabgroups) { |
| | | config.tabgroups = [{ uuid: 'tabs', sublist: [] }] |
| | |
| | | */ |
| | | static updateSubTable (config) { |
| | | if (!config.version || config.version < '1.0') { |
| | | config.version = '1.0' |
| | | // 兼容图表 |
| | | if (!config.charts) { |
| | | config.expand = false |