From d043b9771f293e6647521761eb086d4ae234d321 Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Wed, 28 Oct 2026 13:35:21 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=BE=E8=AE=A1=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=20-=20=E5=A4=87=E5=BF=98=E5=BD=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 意图改为恢复到之前保存的状态。 --- notes/设计模式 - 备忘录.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/设计模式 - 备忘录.md b/notes/设计模式 - 备忘录.md index 790e919b..0c27b4ce 100644 --- a/notes/设计模式 - 备忘录.md +++ b/notes/设计模式 - 备忘录.md @@ -1,7 +1,7 @@ ## 备忘录(Memento) ### 意图 -在不违反封装的情况下获得对象的内部状态,从而在需要时可以将对象恢复到最初状态。 +在不违反封装的情况下获得对象的内部状态,从而在需要时可以将对象恢复到之前保存的状态。 ### 类图 - Originator:原始对象