ac-input-locale

多语言 Input 组件

$ ynpm install @yonyou/ac-input-locale --save-dev

引入

import AcInputLocale from '@yonyou/ac-input-locale';

样式引入

import '@yonyou/ac-input-locale/dist/index.css';

在线示例

https://tinper-acs.github.io/ac-input-locale/

效果

API

参数 说明 类型 返回值 是否必填
className 容器样式 string ---
onOk 点击确定的钩子函数 fun object
onCancel 点击取消的钩子函数 fun Object
locale 当前语种 string --
localeList 语言列表 object --
onChange 输入框的change的钩子函数 fun object
isTextarea 是否textarea,默认false bool --
modalLocale 模态框中title、按钮的文字语态 object --

开发调试

$ cd @yonyou/ac-input-locale
$ npm install
$ npm run dev