|
@@ -56,7 +56,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<el-select v-model='ruleForm.LineWidth' placeholder='请选择' size='small' style='width:160px;' ref='select' @change='changeSelection'>
|
|
|
- <el-option v-for='item in linepxOption' :key='item.id' :label='item.src' :value='item.id'>
|
|
|
+ <el-option v-for='item in linepxOption' :key='item.id' :label='item.src' :value='item.id' slot>
|
|
|
<img :src='item.src' alt />
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -221,6 +221,7 @@ export default {
|
|
|
},
|
|
|
mounted() {
|
|
|
console.log(this.ruleForm, 'ruleForm')
|
|
|
+ this.ruleForm.LineWidth = String(this.ruleForm.LineWidth)
|
|
|
}
|
|
|
}
|
|
|
</script>
|