Bug 560 - [NEW] Restore entered words in the textarea after reopening the accidentally-closed page
Summary: [NEW] Restore entered words in the textarea after reopening the accidentally-...
Status: CONFIRMED
Alias: None
Product: EnglishPal
Classification: Unclassified
Component: 改进建议 (show other bugs)
Version: 0.1
Hardware: PC Windows
: Normal enhancement
Assignee: Hui Lan
URL:
Depends on:
Blocks:
 
Reported: 2024-04-06 17:54 CST by Hui Lan
Modified: 2024-07-10 07:59 CST (History)
0 users

See Also:


Attachments

Description Hui Lan 2024-04-06 17:54:20 CST
在 “收集生词吧” 下面的 textarea 里面键入单词。
如果意外关闭了网页,则这些键入的单词就会丢失。

改进:使用 JavaScript 的 localStorage 保持这些生词,使得再次打开网页时,这些生词仍然存在。
Comment 1 Hui Lan 2024-07-10 07:59:07 CST
注意:如果是同一台电脑登录不同用户,则A用户在textarea输入的东西不应该在B用户的textarea中显示。-由 petou 发现

Note You need to log in before you can comment on or make changes to this bug.