feat: 非精油产品编辑页面适配(ml/g/颗) #34
@@ -44,7 +44,7 @@
|
||||
|
||||
<!-- Action buttons -->
|
||||
<div class="action-bar">
|
||||
<button class="action-chip" @click="showAddOverlay = true">新增</button>
|
||||
<button class="action-chip" @click="oils.loadOils(); showAddOverlay = true">新增</button>
|
||||
<button class="action-chip" :class="{ active: isAllSelected }" @click="toggleSelectAll">
|
||||
全选<span v-if="totalSelected > 0" class="chip-count">{{ totalSelected }}</span>
|
||||
</button>
|
||||
@@ -808,6 +808,7 @@ function editRecipe(recipe) {
|
||||
}
|
||||
formNote.value = recipe.note || ''
|
||||
formTags.value = [...(recipe.tags || [])]
|
||||
oils.loadOils()
|
||||
showAddOverlay.value = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user