This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user