oak-general-business/es/pages/changePassword/web.pc.js

9 lines
659 B
JavaScript

import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import Style from './web.module.less';
import PageHeader from '../../components/common/pageHeader';
import ChangePassword from '../../components/changePassword';
export default function render(props) {
const { showBack, userId, currentUserId } = props.data;
return ((userId || currentUserId) ? _jsx(PageHeader, { showBack: showBack, title: "\u5BC6\u7801\u8BBE\u7F6E", children: _jsx("div", { className: Style.container, children: _jsx(ChangePassword, { oakId: userId || currentUserId, oakPath: "$changePassword-component", oakAutoUnmount: true }) }) }) : _jsx(_Fragment, {}));
}