This commit is contained in:
2020-07-02 13:45:01 +00:00
parent 9432c98a6c
commit c5e0dd626b
11 changed files with 15 additions and 15 deletions

View File

@@ -283,7 +283,7 @@ export default {
this.obj = this.$route.params.obj;
vm.formState.loading = false; //here we handle it immediately
} else {
vm.getDataFromApi(vm.$route.params.recordid); //let getdata handle loading
await vm.getDataFromApi(vm.$route.params.recordid); //let getdata handle loading
}
} else {
vm.formState.loading = false; //here we handle it immediately
@@ -389,15 +389,14 @@ export default {
deep: true
}
},
computed: {
computed: {},
methods: {
canSave: function() {
return this.formState.valid && this.formState.dirty;
},
canDuplicate: function() {
return this.formState.valid && !this.formState.dirty;
}
},
methods: {
},
ayaTypes: function() {
return window.$gz.type;
},