Commit b82e3cbe by 李君

优化

1 parent cc86fffd
......@@ -12,7 +12,7 @@
<el-option v-for="item in areaListData" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
<el-form-item :label="$t('table.deviceNum')">
<el-form-item :label="$t('table.deviceNum')" class="social">
<el-select v-model="searchForm.serialNum" :placeholder="$t('pholder.select')" @change="deviceChange">
<el-option v-for="item in deviceList" :key="item.serialnum" :label="item.localIp+'——'+item.serialnum" :value="item.serialnum" />
</el-select>
......@@ -289,6 +289,12 @@
</script>
<style scoped="scoped" lang="less">
.social{
/deep/.el-form-item__label{
width: auto !important;
min-width: 100px;
}
}
/deep/.el-select{
width: 180px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!