dialog component
This commit is contained in:
+4
-1
@@ -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
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user