chore: upgrade deps & fix lint

This commit is contained in:
YunYouJun
2023-11-05 21:57:05 +08:00
parent e861c5bd65
commit 203ab27496
21 changed files with 2795 additions and 2938 deletions

View File

@@ -2,9 +2,8 @@ import { acceptHMRUpdate, defineStore } from 'pinia'
import { useStorage } from '@vueuse/core'
import { computed, onMounted, ref, watch } from 'vue'
import { useGtm } from '@gtm-support/vue-gtm'
import type { RecipeItem } from 'types'
import type { StuffItem } from '../../data/food'
import { db } from '../../utils/db'
import type { RecipeItem, StuffItem } from '~/types'
const namespace = 'cook'
@@ -74,7 +73,6 @@ export const useRecipeStore = defineStore('recipe', () => {
const isSearching = ref(false)
/**
* 搜索菜谱
* @returns
*/
async function searchRecipes() {
isSearching.value = true