page.js 322 B

12345678910111213141516
  1. import React from 'react';
  2. import './index.less';
  3. import Page from '@src/containers/Page';
  4. import { User } from '../../../stores/user';
  5. export default class extends Page {
  6. init() {
  7. const { id } = this.params;
  8. User.originInviteCode(id);
  9. replaceLink('/login');
  10. }
  11. renderView() {
  12. return <div />;
  13. }
  14. }