提交代码

This commit is contained in:
GGJ
2024-10-23 19:41:16 +08:00
parent ea76431f0f
commit a3bf67a9ad

View File

@@ -17,11 +17,11 @@
</el-form-item>
<el-form-item v-for="(item, index) in countData" :key="index" :label="item.name + '谐波次数'"
label-width="180px" v-show="item.countOptions.length != 0">
<el-form-item class="history_count" v-for="(item, index) in countData" :key="index" :label="item.name + '谐波次数'"
v-show="item.countOptions.length != 0">
<!-- v-if="item.countOptions.length != 0" -->
<el-select v-model="item.count" @change="onCountChange($event, index)"
placeholder="请选择谐波次数">
placeholder="请选择谐波次数" style="width: 100px" >
<el-option v-for="vv in item.countOptions" :key="vv" :label="vv"
:value="vv"></el-option>
</el-select>
@@ -638,4 +638,10 @@ defineExpose({ getTrendRequest })
// flex: 1;
margin-top: 10px;
}
.history_count{
.el-select {
min-width: 100px;
}
}
</style>