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

@@ -9,7 +9,6 @@ foodItems.forEach((item) => {
/**
* get emojis from stuff name array
* @param stuff
* @returns
*/
export function getEmojisFromStuff(stuff: string[]) {
const emojis: string[] = stuff.map(name => foodEmojiMap.get(name)).filter(item => !!item)

View File

@@ -3,7 +3,6 @@ import { isClient } from '@vueuse/core'
/**
* - https://web.dev/customize-install/#detect-install
* - [Trigger installation from your PWA](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Trigger_install_prompt)
* @returns
*/
export function installPrompt() {
if (!isClient)

View File

@@ -1,7 +1,5 @@
/**
* 生成随机数组
* @param recipes
* @returns
*/
export function generateRandomArray(length: number, total = 1) {
const randomArr: number[] = []