0.1.8 • Published 2 years ago

imf-common v0.1.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

imyfone-common

vue 公司项目组件库,依赖有element-plus vue3.x 组件

更新组件

打包:
npm run lib

修改package.json 文件 version

上传到npm:
npm publish

Project setup

安装:
npm install imf-common

全局应用:
import ImfCommon from 'imf-common'
app.use(ImfCommon)

支持按需引入

组件说明

imf-history-inp

tem: 保存输入的历史记录,下拉提示匹配, 支持,分割匹配和保存多个

  <imf-history-inp v-model:email="testemail" keyname="testautoKey" ref="testautoRef"/>
  <button @click="handleSave">保存</button>

js:

const testemail = ref('')
const testautoRef = ref(null)
const handleSave = () => {
    testautoRef.value.saveMail()
}

imf-history-select

 <imf-history-select :list="userList" keyname="historylis" v-model="historyval" />

js:

const userList = {
    0: '张三',
    1: '李四',
    2: '王五',
    3: '赵六'
}
const historyval = ref('')
0.0.0

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago