Commit e5c307b9 by 胡悦

修改

1 parent de20b472
......@@ -21,6 +21,7 @@
<el-input
v-if="item.clickFunc"
:type="item.inputText || 'text'"
:disabled="item.disabled || false"
:readonly="item.readonly || false"
:placeholder="item.placeholder || '请输入'"
@click.native="item.clickFunc"
......
......@@ -413,10 +413,10 @@ export default {
})
this.vehicleTitle = '查看车辆'
this.vehicleHasOk = false
this.vehicleData.map(item => {
if (item.type == 'input') this.$set(item, 'readonly', true)
else this.$set(item, 'disabled', true)
})
this.vehicleData.map(item => this.$set(item, 'disabled', true))
// if (item.type == 'input') this.$set(item, 'readonly', true)
// else this.$set(item, 'disabled', true)
// })
}
break
case 'delete':
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!