From 805d30ad75f131e46b1408c61e9c493b27fc1176 Mon Sep 17 00:00:00 2001 From: YunYouJun Date: Fri, 15 Apr 2022 23:37:11 +0800 Subject: [PATCH] fix: add default tool --- src/stores/recipe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/recipe.ts b/src/stores/recipe.ts index 94adaf5..5201431 100644 --- a/src/stores/recipe.ts +++ b/src/stores/recipe.ts @@ -2,7 +2,7 @@ import { acceptHMRUpdate, defineStore } from 'pinia' export const useRecipeStore = defineStore('recipe', () => { const curStuff = ref(new Set()) - const curTools = ref(new Set()) + const curTools = ref(new Set(['一口大锅'])) const selectedStuff = computed(() => Array.from(curStuff.value)) const selectedTools = computed(() => Array.from(curTools.value))