|
|
|
@ -16,6 +16,9 @@ const MaintenancePage = () => {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const handleVersionCheck = () => {};
|
|
|
|
|
const toHome = () => {
|
|
|
|
|
window.location.href = '/';
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const __BUILD_DATE__ = `__BUILD_DATE__`;
|
|
|
|
|
const __BUILD_VERSION__ = `__BUILD_VERSION__`;
|
|
|
|
@ -27,12 +30,15 @@ const MaintenancePage = () => {
|
|
|
|
|
<button onClick={handleClearCache} className='px-4 py-2 mb-4 bg-blue-500 text-white rounded-md border-0'>
|
|
|
|
|
清除缓存
|
|
|
|
|
</button>
|
|
|
|
|
<button onClick={handleReload} className='px-4 py-2 mb-2 bg-green-500 text-white rounded-md border-0'>
|
|
|
|
|
<button onClick={handleReload} className='px-4 py-2 mb-4 bg-green-500 text-white rounded-md border-0'>
|
|
|
|
|
重新加载
|
|
|
|
|
</button>
|
|
|
|
|
{/* <button onClick={handleVersionCheck} className='px-4 py-2 mb-2 bg-yellow-500 text-white rounded-md border-0'>
|
|
|
|
|
检查版本
|
|
|
|
|
</button> */}
|
|
|
|
|
<button onClick={toHome} className='px-4 py-2 mb-2 bg-red-400 text-white rounded-md border-0'>
|
|
|
|
|
打开系统
|
|
|
|
|
</button>
|
|
|
|
|
<p>Version: {__BUILD_VERSION__}</p>
|
|
|
|
|
<p>
|
|
|
|
|
Build Date: {__BUILD_DATE__} <span>GMT+00:00</span>
|
|
|
|
|