code: function install (Vue, options = {}) {
    options.lang = options.lang || 'zh_cn'
    Object.assign(validator, options.validators)
    Object.assign(lang[options.lang], options.messages)
    try {
      const directive = new Directive(Vue, {
        mode: options.mode,
        errorIcon: options.errorIcon,
        errorClass: options.errorClass || null,
        errorForm: options.errorForm,
        validators: validator,
        messages: lang[options.lang]
      })
      directive.install(Vue)
    } catch (e) {
      console.error(`${e}\nfrom v-verify`)
    }
  }
docs: VUE plugin registed function
  @param {Object} Vue object
  @param {Object} plugin config object