This commit is contained in:
2019-06-07 17:48:10 +00:00
parent 8c5d18bccd
commit b8e2b9a319

View File

@@ -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,