<template>
  <div>
    <div>新增alertText组件测试</div>
    <input :type="typeInput"
           placeholder="请输入"
           @change="change" />
  </div>
</template>

<script type="text/babel">
export default {
  name: 'ElAlertText',
  props: {
    typeInput: String
  },
  methods: {
    change(val) {
      this.$emit('changeInput', val);
    }
  }
};
</script>
