king
2022-10-28 aa41be24e83653077d85860cb70882551912af24
src/tabviews/custom/components/carousel/data-card/index.jsx
@@ -1,7 +1,7 @@
import React, {Component} from 'react'
import PropTypes from 'prop-types'
import { is, fromJS } from 'immutable'
import { Spin, Empty, notification, Carousel } from 'antd'
import { Spin, Empty, notification, Carousel, Modal } from 'antd'
import Api from '@/api'
import UtilsDM from '@/utils/utils-datamanage.js'
@@ -259,6 +259,12 @@
        loading: false
      })
      this.timer && this.timer.stop()
      if (result.ErrCode === 'N') {
        Modal.error({
          title: result.message,
        })
      } else {
      notification.error({
        top: 92,
        message: result.message,
@@ -266,6 +272,7 @@
      })
    }
  }
  }
  render() {
    const { config, loading, data, card } = this.state