This commit is contained in:
2019-05-02 22:53:31 +00:00
parent c90c915e1f
commit ffd320dff9
3 changed files with 8 additions and 15 deletions

View File

@@ -124,19 +124,6 @@ export default {
break;
case "logout":
vm.$router.push({ name: "login" });
// if (vm.formState && vm.formState.dirty) {
// vm.$gzdialog.confirmLeaveUnsaved(vm).then(dialogResult => {
// if (dialogResult == true) {
// processLogout();
// vm.$router.push({ name: "login" });
// } else {
// return;
// }
// });
// } else {
// processLogout();
// vm.$router.push({ name: "login" });
// }
break;
case "nav":
vm.$router.push({ name: item.data });