<template>
  <div >
    <div  class="dm-wrap">
      <p>dm-input</p>
      <dm-input class="w200" type="text" v-model="value" :maxlength="20"></dm-input>
    </div>

    <div  class="dm-wrap">
      <p>dm-delete</p>
      <dm-delete @confirm="delData(scope.row)" tips="是否删除?">
          <el-button type="text">删除</el-button>
      </dm-delete>
    </div>

    <div  class="dm-wrap">
      <p>dm-form-item</p>
      <el-form :model="form"  ref="form" :rules="rules" label-width="80px">
        <dm-form-item prop="proName" label="标题" tooltip="这是一段测试文字">
          <dm-input class="w200" type="text" v-model="value" :maxlength="20"></dm-input>
        </dm-form-item>
      </el-form>
    </div>
  </div>


</template>

<script>
export default {
  data() {
    return {
      value:'',
      form:{},
      rules:{}
    }
  },
  methods:{
    delData(row) {

    }
  }

}
</script>
