|
@ -52,6 +52,7 @@ watch(() => selectedIndex.value, () => { |
|
|
}) |
|
|
}) |
|
|
const initFormulaList = () => { |
|
|
const initFormulaList = () => { |
|
|
formulaStore.initFormulaList() |
|
|
formulaStore.initFormulaList() |
|
|
|
|
|
recipes.value = formulaStore.formulaList as Formula.FormulaItem[] |
|
|
} |
|
|
} |
|
|
const selectRecipe = (item: Formula.FormulaItem, index: number) => { |
|
|
const selectRecipe = (item: Formula.FormulaItem, index: number) => { |
|
|
selectedIndex.value = index |
|
|
selectedIndex.value = index |
|
|