king
2020-09-10 a236ed132e2908cb1dd1a9bf175ce2d1c0418e59
2020-09-10
3个文件已修改
11 ■■■■ 已修改文件
src/api/index.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/verifycard/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/utils-update.js 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -74,7 +74,12 @@
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)
  }
src/templates/zshare/verifycard/index.jsx
@@ -1853,7 +1853,7 @@
            </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}>
src/utils/utils-update.js
@@ -9,6 +9,7 @@
   */
  static updateCommonTable (config) {
    if (!config.version || config.version < '1.0') {
      config.version = '1.0'
      // 兼容标签
      if (!config.tabgroups) {
        config.tabgroups = [{ uuid: 'tabs', sublist: [] }]
@@ -87,6 +88,7 @@
   */
  static updateSubTable (config) {
    if (!config.version || config.version < '1.0') {
      config.version = '1.0'
      // 兼容图表
      if (!config.charts) {
        config.expand = false