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

#!zh 提示用户需要至少保留一个页面 #!en notify user: you should keep at least one page #62

Closed
todo bot opened this issue Jul 21, 2019 · 0 comments
Assignees
Labels
todo 🗒️ trivial priority 对系统的功能没有影响,通常是视觉效果不理想,比如字体和颜色不满意

Comments

@todo
Copy link

todo bot commented Jul 21, 2019

if (state.work.pages.length === 1) return // #!zh: 作品中至少需要保留一个页面,TODO 需要在页面中提示用户此信息
const { work, editingPage } = state
let index = work.pages.findIndex(page => page.uuid === editingPage.uuid)
if (index !== -1) {
let newPages = work.pages.slice()


This issue was generated by todo based on a TODO comment in c784e56. It's been assigned to @ly525 because they committed the code.
@todo todo bot assigned ly525 Jul 21, 2019
@todo todo bot added the todo 🗒️ label Jul 21, 2019
@ly525 ly525 added the trivial priority 对系统的功能没有影响,通常是视觉效果不理想,比如字体和颜色不满意 label Aug 25, 2019
@ly525 ly525 changed the title 需要在页面中提示用户此信息 #!zh 需要在页面中提示用户此信息 #!en notify user: you should keep at least one page Oct 20, 2019
@ly525 ly525 changed the title #!zh 需要在页面中提示用户此信息 #!en notify user: you should keep at least one page #!zh 提示用户需要至少保留一个页面 #!en notify user: you should keep at least one page Oct 20, 2019
@ly525 ly525 closed this as completed in bbe623b Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo 🗒️ trivial priority 对系统的功能没有影响,通常是视觉效果不理想,比如字体和颜色不满意
Projects
None yet
Development

No branches or pull requests

1 participant