广州矛调粤政易端
xusd
7 days ago d27794814b69d18aeb8ee96a46cae91d5613570c
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
/*
 * @Company: hugeInfo
 * @Author: lwh
 * @Date: 2023-05-20 10:11:29
 * @LastEditTime: 2023-08-08 00:45:12
 * @LastEditors: dminyi 1301963064@qq.com
 * @Version: 1.0.0
 * @Description: 
 */
import React, { useState } from 'react';
import { RightArrow2Outlined } from 'dd-icons';
import { Empty, Button } from 'dingtalk-design-mobile';
import { idcard, address, person1, person2 } from '../../assets/img';
import { HashRouter as Router, Route, Redirect, useHistory } from 'react-router-dom';
 
const EmptyView = ({ show, showOnClick }) => {
  const history = useHistory();
 
  return (
    <>
      <Empty
        type="permission"
        action={{
          text: '账号登录',
          onClick: () => {
            showOnClick();
          },
        }}
        title={show === 'noDingDing' ? '抱歉,请在海政通内打开!' : '该应用仅对网格员开放!'}
      />
    </>
  );
};
 
export default EmptyView;