dialog component

This commit is contained in:
cookfront
2017-02-16 15:12:28 +08:00
parent 82bb27896e
commit 4c3cdd433b
15 changed files with 350 additions and 6 deletions
+4 -1
View File
@@ -6,6 +6,7 @@ import Cell from '../packages/cell/index.js';
import Icon from '../packages/icon/index.js';
import CellGroup from '../packages/cell-group/index.js';
import Popup from '../packages/popup/index.js';
import Dialog from '../packages/dialog/index.js';
// zanui
import '../packages/zanui/src/index.pcss';
@@ -20,6 +21,7 @@ const install = function(Vue) {
Vue.component(Icon.name, Icon);
Vue.component(CellGroup.name, CellGroup);
Vue.component(Popup.name, Popup);
// Vue.component(Dialog.name, Dialog);
};
// auto install
@@ -37,5 +39,6 @@ module.exports = {
Cell,
Icon,
CellGroup,
Popup
Popup,
Dialog
};
+2 -2
View File
@@ -1,6 +1,6 @@
export default function(target, ...sources) {
for (let i = 1, j = sources.length; i < j; i++) {
let source = arguments[i] || {};
for (let i = 0; i < sources.length; i++) {
let source = sources[i] || {};
for (let prop in source) {
if (source.hasOwnProperty(prop)) {
let value = source[prop];