#
luxiaotao1123
2024-10-12 2931c080fd30685b6e4291d0028b0a7d2098b01d
#
5个文件已修改
21 ■■■■■ 已修改文件
zy-acs-flow/src/i18n/en.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/zh.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/MapPage.jsx 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/map/tool.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/page/login/Login.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-flow/src/i18n/en.js
@@ -631,6 +631,7 @@
            },
            action: {
                save: 'Save Map',
                clear: 'Clear Map',
            },
            settings: {
                title: 'Settings',
zy-acs-flow/src/i18n/zh.js
@@ -629,6 +629,7 @@
            },
            action: {
                save: '保存地图',
                clear: '清空地图',
            },
            settings: {
                title: '设置',
zy-acs-flow/src/map/MapPage.jsx
@@ -246,6 +246,23 @@
                    <>
                        <Button
                            variant="contained"
                            sx={{ mr: 2 }}
                            onClick={() => {
                                Tool.clearMapData();
                            }}
                        >
                            {translate('page.map.action.clear')}
                        </Button>
                        <ConfirmButton
                            label="page.map.action.save"
                            variant="contained"
                            sx={{ mr: 2 }}
                            onConfirm={() => {
                                Http.saveMapData(curZone);
                            }}
                        />
                        <Button
                            variant="contained"
                            color="primary"
                            sx={{ mr: 1 }}
                            onClick={() => setDeviceVisible(!deviceVisible)}
zy-acs-flow/src/map/tool.js
@@ -245,7 +245,6 @@
    }
}
export const showSelectedEffect = (sprite) => {
    if (!sprite?.texture || !sprite?.texture?.valid) {
        return;
zy-acs-flow/src/page/login/Login.jsx
@@ -30,6 +30,7 @@
    const handleSubmit = (auth) => {
        setLoading(true);
        // js native confirm && root
        login(
            auth,
            location.state ? (location.state).nextPathname : '/'