/*
|
* @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;
|