import React from 'react';
import Modal from "@/components/Modal";
import './index.css';

export default ({ visible, onClose }) => {
  return (
    <Modal visible={visible} onClose={onClose}>
      <div className="permission-modal-content">
        <h2 className="permission-modal-title">权限提示</h2>
        
        <p className="permission-modal-message">
          非学员本人无岗位投递权限
        </p>
        
        
        <button className="permission-modal-btn" onClick={onClose}>
          我知道了
        </button>
      </div>
    </Modal>
  );
};