/**version-1.0*/
let modules = {};

modules = {
  install: function (Vue) {
    Vue.directive('elReadonly', {
      bind(el, binding, vnode) {
        let value = binding.value !== "false" && binding.value !== false;
        if (value) {
          let a = el.children[0];
          el.children[0].readOnly = true;
        }
      }
    })
  }
};

export default modules
