king
2022-10-28 aa41be24e83653077d85860cb70882551912af24
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -1,7 +1,7 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import { is, fromJS } from 'immutable'
import { Spin, notification, Col, Row } from 'antd'
import { Spin, notification, Col, Row, Modal } from 'antd'
import Api from '@/api'
import UtilsDM from '@/utils/utils-datamanage.js'
@@ -397,6 +397,11 @@
        loading: false
      })
      this.timer && this.timer.stop()
      if (result.ErrCode === 'N') {
        Modal.error({
          title: result.message,
        })
      } else {
      notification.error({
        top: 92,
        message: result.message,
@@ -404,6 +409,7 @@
      })
    }
  }
  }
  changeCard = (index, item) => {
    const { config, data, activeKey } = this.state