Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Franslee committed Mar 19, 2019
2 parents 1bfa5b1 + a941f1d commit 962ae6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
## 2.0.7
## 2.0.8

`2019-3-19`

* :bug: 修复`Dialog`组件按需加载报错的问题


## 2.0.6

`2019-3-18`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nutui/nutui",
"version": "2.0.7",
"version": "2.0.8",
"description": "一套轻量级移动端Vue组件库",
"typings": "dist/types/index.d.ts",
"main": "dist/nutui.js",
Expand Down
6 changes: 4 additions & 2 deletions src/packages/dialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import DialogVue from './dialog.vue';
import Dialog from './_dialog';
import './dialog.scss';

Dialog.install = function(Vue){
const DialogArr = [Dialog, DialogVue];

DialogArr.install = function(Vue){
Vue.prototype['$dialog'] = Dialog;
Vue.component(DialogVue.name, DialogVue);
}

export default [Dialog, DialogVue];
export default DialogArr;

0 comments on commit 962ae6a

Please sign in to comment.