#
luxiaotao1123
2024-03-25 47eb4cf11427e2df5eef0bdc876601107f8bb1ec
#
2个文件已修改
24 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/batch/modify.jsx 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/utils.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/batch/modify.jsx
@@ -10,14 +10,6 @@
import * as Utils from '../utils'
import ShowJson from '../drawer/showJson';
const waitTime = (time = 100) => {
    return new Promise((resolve) => {
        setTimeout(() => {
            resolve(true);
        }, time);
    });
};
const BatchModify = (props) => {
    const intl = useIntl();
    const { batchSprites } = props;
@@ -34,7 +26,7 @@
    }, [batchSprites]);
    const handleOk = (values) => {
        console.log(values);
        console.log(values); return true;
        if (batchSprites?.length > 0) {
            // loading
            batchSprites.forEach(sprite => {
@@ -56,10 +48,6 @@
            <StepsForm
                current={currentStep}
                onCurrentChange={setCurrentStep}
                onFinish={async () => {
                    await waitTime(1000);
                    message.success('提交成功');
                }}
                formProps={{
                    variant: 'filled',
                    layout: 'horizontal',
zy-asrs-flow/src/pages/map/utils.js
@@ -492,4 +492,12 @@
        sprite.tint = showColor;
    }
    return showColor;
}
}
export const waitTime = (time = 1000) => {
    return new Promise((resolve) => {
        setTimeout(() => {
            resolve(true);
        }, time);
    });
};