This commit is contained in:
2019-11-13 23:14:40 +00:00
parent 7148291c20
commit 1a6dac33e5
3 changed files with 6 additions and 1 deletions

View File

@@ -497,6 +497,8 @@ export default {
}
},
remove() {
throw "Fake remove error";
// eslint-disable-next-line no-unreachable
var vm = this;
window.$gz.dialog.confirmDelete().then(dialogResult => {
if (dialogResult == true) {
@@ -539,6 +541,8 @@ export default {
});
},
duplicate() {
throw "Fake duplicate error";
// eslint-disable-next-line no-unreachable
if (this.canDuplicate && this.$route.params.id != 0) {
this.formState.loading = true;
var vm = this;