ProgressQuit.tsx 1.0 KB
Newer Older
R
Rongfeng Fu 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
import { intl } from '@/utils/intl';
import { Card, Empty } from 'antd';
import { getLocale } from 'umi';
import EnStyles from './indexEn.less';
import ZhStyles from './indexZh.less';

const locale = getLocale();
const styles = locale === 'zh-CN' ? ZhStyles : EnStyles;

export default function ProgressQuit() {
  return (
    <Card className={styles.exitPage}>
      <Empty
        image="/assets/empty2.png"
        style={{ marginTop: '30px' }}
        description=""
      />

      <h1
        className="fw-500"
        data-aspm-click="c307511.d326702"
        data-aspm-desc={intl.formatMessage({
          id: 'OBD.pages.components.ProgressQuit.ExitServiceStoppedOnThe',
          defaultMessage: '退出-当前页面已停止服务',
        })}
        data-aspm-param={``}
        data-aspm-expo
      >
        {intl.formatMessage({
          id: 'OBD.pages.components.ProgressQuit.YouHaveSelectedToDeploy',
          defaultMessage: '您已选择在其他页面进行部署工作,当前页面已停止服务',
        })}
      </h1>
    </Card>
  );
}