优化多选状态下菜品显示,同时显示价格

This commit is contained in:
28353131@qq.com 2020-11-28 18:20:43 +08:00
parent b3a0332835
commit 16a6560ff4

View File

@ -44,6 +44,9 @@
:key="item.foodId"
:label="item.name"
:value="item.foodId">
<span style="float: left; width:40px">{{ item.name }}</span>
<el-divider direction="vertical"></el-divider>
<span style="color: #8492a6; font-size: 13px">{{ item.price }} </span>
</el-option>
</el-select>
</template>