组件的本地化
import ar from 'vee-validate/dist/locale/ar';
import VeeValidate, { Validator } from 'vee-validate';
// Localize takes the locale object as the second argument (optional) and merges it.
Validator.localize('ar', ar);
// Install the Plugin.
Vue.use(VeeValidate);