Dunqing 4ac01b28db
fix(mobile-client): some mobile-client bugs (#2017)
* fix: avoid delete last tab will brake mobile client

* fix: when schema not exists

* feat: support redirect to mobile route in app

* fix: re-insert repeat routes

* feat: sync title

* fix: sync title

* fix: when TabBar is empty will cause page crashed

* fix: default label i18n not work

* fix: delete last menu will cannot add block ,Close T-434

* fix: tab cannot add block in drawer, Close T-437

* fix: hidden connect data block

* fix: login should use replace

* feat: display configuration of mobile-client address
2023-06-13 11:31:34 +08:00

24 lines
553 B
TypeScript

import { Card, Form, Input } from 'antd';
import React from 'react';
import { useTranslation } from '../locale';
export const AppConfiguration = () => {
const { t } = useTranslation();
return (
<Card
style={{
minHeight: '600px',
}}
>
<Form layout="vertical">
<Form.Item
tooltip={`${t('The full address is')} ${window.origin}/mobile`}
label={t('Mobile client access address')}
>
<Input value="/mobile" disabled />
</Form.Item>
</Form>
</Card>
);
};