diff --git a/src/pages/about.md b/src/pages/about.md
index a3f9b91..ad9b46a 100644
--- a/src/pages/about.md
+++ b/src/pages/about.md
@@ -38,7 +38,9 @@ title: 关于
- 晴方啾
- 课代表阿伟
-
+## **友情提示**
+
+点击首页最上方的大锅图标,可以清空所选食材和工具。(本来想当作彩蛋,但是感觉还挺实用的。)
Made by
diff --git a/src/stores/recipe.ts b/src/stores/recipe.ts
index 3d0ad9a..94eaa60 100644
--- a/src/stores/recipe.ts
+++ b/src/stores/recipe.ts
@@ -1,11 +1,13 @@
import { acceptHMRUpdate, defineStore } from 'pinia'
-export const useRecipeStore = defineStore('recipe', () => {
- const strict = ref(false)
+const namespace = 'cook'
- const curStuff = ref(new Set())
+export const useRecipeStore = defineStore('recipe', () => {
+ const strict = useStorage(`${namespace}:strict`, false)
+
+ const curStuff = useStorage(`${namespace}:stuff`, new Set())
// const curTools = ref(new Set())
- const curTool = ref('')
+ const curTool = useStorage(`${namespace}:tool`, '')
const selectedStuff = computed(() => Array.from(curStuff.value))
// const selectedTools = computed(() => Array.from(curTools.value))