mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
* 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
24 lines
553 B
TypeScript
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>
|
|
);
|
|
};
|