style(admin): add more tip for socketio

pull/90/head
moonrailgun 2 years ago
parent f981b2680c
commit b9d747e9cf

@ -66,6 +66,7 @@ export const englishCustom = {
socketio: { socketio: {
tip1: 'The server URL is:', tip1: 'The server URL is:',
tip2: 'The account password is the account password of Tailchat Admin', tip2: 'The account password is the account password of Tailchat Admin',
tip3: 'NOTICE: please check "Advanced options" then select "websocket only" and "MessagePack parser"',
btn: 'Open the Admin platform', btn: 'Open the Admin platform',
}, },
config: { config: {
@ -143,6 +144,7 @@ export const chineseCustom = {
socketio: { socketio: {
tip1: '服务器URL为:', tip1: '服务器URL为:',
tip2: '账号密码为Tailchat后台的账号密码', tip2: '账号密码为Tailchat后台的账号密码',
tip3: '注意: 请打开 "Advanced options" 并选中 "websocket only" 与 "MessagePack parser"',
btn: '打开管理平台', btn: '打开管理平台',
}, },
config: { config: {

@ -23,6 +23,9 @@ export const SocketIOAdmin: React.FC = React.memo(() => {
<Typography component="div"> <Typography component="div">
{translate('custom.socketio.tip2')} {translate('custom.socketio.tip2')}
</Typography> </Typography>
<Typography component="div">
{translate('custom.socketio.tip3')}
</Typography>
</CardContent> </CardContent>
<CardActions> <CardActions>
<Button <Button

Loading…
Cancel
Save