Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: 优化树结构实体的保存#319

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
zhou-hao merged 23 commits intohs-web:masterfromkyouji:master
Apr 28, 2025
Merged

Conversation

@kyouji
Copy link
Contributor

未传入parentId时,不更新path

@CLAassistant
Copy link

CLAassistant commentedApr 28, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@zhou-hao
Copy link
Member

现在将树节点设置为顶级节点时 parentId设置的是啥?

@kyouji
Copy link
ContributorAuthor

现在将树节点设置为顶级节点时 parentId设置的是啥?

设置的空字符串,然后再订阅实体事件改成null

@zhou-hao
Copy link
Member

这样修改之后还能设置为顶级节点吧?

@kyouji
Copy link
ContributorAuthor

kyouji commentedApr 28, 2025
edited
Loading

这样修改之后还能设置为顶级节点吧?

可以再设置为root节点。这是通用的规则吧,PUT不传字段(null)就表示不修改它,传空字符串表示清空。

之前在组织中订阅实体事件改成null,是为了适配页面组件的反显

@zhou-haozhou-hao merged commitb335252 intohs-web:masterApr 28, 2025
1 check passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@kyouji@CLAassistant@zhou-hao

[8]ページ先頭

©2009-2025 Movatter.jp