This commit is contained in:
2019-06-12 23:39:15 +00:00
parent dce45378da
commit 1a54b242e5
2 changed files with 13 additions and 11 deletions

View File

@@ -188,11 +188,13 @@ function clickHandler(menuItem) {
var selectedItem = reportList[0].value;
m.vm.$gzdialog
.getReportChoice(m.vm, reportList, selectedItem)
.then(result => {
m.vm.$gzevent.$emit(
"notify-success",
FORM_KEY + "::report click, selected is: [" + result + "]"
);
.then(res => {
if (res) {
m.vm.$gzevent.$emit(
"notify-success",
FORM_KEY + "::report click, selected is: [" + res + "]"
);
}
});
break;