import React, {Component, PureComponent} from 'react'; import {AppSwitcher} from './infrastructure/widgets'; import {LoginForm, PostForm} from './UserAction'; import {TokenCtx} from './UserAction'; import {PromotionBar} from './Common'; import {ConfigUI} from './Config'; import './Title.css'; import {BalanceShower} from './BalanceShower'; const flag_re=/^\/\/setflag ([a-zA-Z0-9_]+)=(.*)$/; const HELP_TEXT=(
PKUHelper 网页版树洞 by @xmcp, 基于 GPLv3 协议在 GitHub 开源
PKUHelper 网页版的诞生离不开 React 、 IcoMoon 等开源项目
{ if('serviceWorker' in navigator) { navigator.serviceWorker.getRegistrations() .then((registrations)=>{ for(let registration of registrations) { console.log('unregister',registration); registration.unregister(); } }); } setTimeout(()=>{ window.location.reload(true); },200); }}>强制检查更新 ({process.env.REACT_APP_BUILD_INFO||'---'} {process.env.NODE_ENV} 会自动在后台检查更新并在下次访问时更新)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
P大树洞