import { Model } from "./Model" import { ComponentFunc } from "../../base" import { Service } from './Service' import { IProps, StaticFuncProps } from "../../../@types/PopModal" import { StateManage } from "../../../service/state" import ReactDOM from "react-dom" import React from "react" import { Modal } from "antd" const PopModalFunc = function (props: IProps, bool?: boolean): any { return ComponentFunc({ props, bool, Model, Service }) } export const PopModal = function (props: IProps) { const [state, Template] = PopModalFunc(props, false) const id = StateManage.get(state, "uniqId") ReactDOM.render(