增加添加商品功能
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
<view class="card-head">
|
||||
<text class="card-title">商品销售分析</text>
|
||||
<view class="card-head-right">
|
||||
<select class="select" v-model="selectedProductId" @change="handleProductChange">
|
||||
<select class="select" :value="selectedProductId" @change="(e: any) => { selectedProductId = parseInt(e.detail?.value ?? e.target?.value ?? '0'); handleProductChange(); }">
|
||||
<option v-for="p in topProducts" :key="p.id" :value="p.id">{{ p.name }}</option>
|
||||
</select>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user