dialog component

This commit is contained in:
cookfront
2017-02-16 15:38:32 +08:00
parent 7b0ab582d7
commit 5c845093da
4 changed files with 11 additions and 9 deletions

View File

@@ -5,8 +5,8 @@ export default {
methods: {
handleAlertClick() {
Dialog.alert({
title: 'alert',
message: 'alert message'
title: 'alert标题',
message: '弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。'
}).then((action) => {
console.log(action);
});
@@ -14,8 +14,8 @@ export default {
handleConfirmClick() {
Dialog.confirm({
title: 'confirm',
message: 'confirm message'
title: 'confirm标题',
message: '弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。弹窗提示文字左右始终距离边20PX上下距离20PX文字左对齐。'
}).then((action) => {
console.log(action);
}, (error) => {