Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【疑似bug】autoSave只能落地最后一个节点的tracker日志。 #7

Open
easylolicon opened this issue Jun 1, 2022 · 0 comments

Comments

@easylolicon
Copy link

easylolicon commented Jun 1, 2022


    function save(Point $point = null):?bool
    {
        // 源代码中 当point == null 则 point = 当前的point节点
        // 改为 point = startPoint 就可以save所有的 信息了
        if($point == null){
            // $point = $this->current();
            $point = $this->startPoint();
        }
        if($point){
            $point->recursive(function (Point $point){
                $point->end(Point::END_BY_AUTO);
            });
            if($this->saveHandler){
                return $this->saveHandler->save($point,$this->getGlobalArg());
            }
        }
        return null;
    }
@easylolicon easylolicon changed the title autoSave 只能落地最后一个节点的tracker日志。 【疑似bug】autoSave只能落地最后一个节点的tracker日志。 Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant