chore: upgrade deps & fix lint
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
/**
|
||||
* 生成随机数组
|
||||
* @param recipes
|
||||
* @returns
|
||||
*/
|
||||
export function generateRandomArray(length: number, total = 1) {
|
||||
const randomArr: number[] = []
|
||||
|
||||
Reference in New Issue
Block a user