1.1.6 • Published 4 years ago

vue-huonu-plugin v1.1.6

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

vueplugin

A Vue.js plugin

Build Setup

# install dependencies
依赖element-ui
npm install
父组件传递数据 query   路由携带过来的参数
父组件接 2 收个参数 launchPeriod.item => item / launchArea.item => item 
                  launchPeriod.itemListStr => data.itemStr /  launchArea.itemListStr => data.itemStr
                  form.launchPeriodList  => data.launchPeriodList
                  form.launchAreaList  => data.launchAreaList
                  


使用
<mx-duration @sendDurationItem='getDurationItem' @launchPeriodList='getLaunchPeriodList'></mx-duration>
            getDurationItem(item) {
                  launchPeriod.item = item
            },
             getLaunchPeriodList(data){
                  launchPeriod.itemListStr = data.itemStr
                  form.launchPeriodList  => data.launchPeriodList
             },
             
<mx-area @sendAreaItem='getAreaItem' @launchAreaList='getAreaList'></mx-area>
             getAreaItem(item) {
                         launchArea.item = item    
                         },
             getAreaList(data){
                            
                         }
在组件上传三个方法 
 transformPeriod     将数据转换成想要的格式 ,
 changeTemplateName  修改模板名字 ,
 saveTemplate        保存模板

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago