This commit is contained in:
@@ -157,7 +157,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
/* eslint-disable */
|
/* xeslint-disable */
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
//
|
//
|
||||||
@@ -485,8 +485,6 @@ export default {
|
|||||||
//Logic for detecting if a post or put: if id then it was a post, if no id then it was a put
|
//Logic for detecting if a post or put: if id then it was a post, if no id then it was a put
|
||||||
if (res.data.id) {
|
if (res.data.id) {
|
||||||
//Handle "post" of new record (CREATE)
|
//Handle "post" of new record (CREATE)
|
||||||
//wouldn't this be cleaner if it just opened the new record directly since the url still has zero in the id field??
|
|
||||||
debugger;
|
|
||||||
vm.obj = res.data;
|
vm.obj = res.data;
|
||||||
vm.$gzform.setFormState({
|
vm.$gzform.setFormState({
|
||||||
vm: vm,
|
vm: vm,
|
||||||
|
|||||||
Reference in New Issue
Block a user