Skip to content

Commit f280e7d

Browse files
committed
Removed hash from url after updating
1 parent b352511 commit f280e7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generator/templates/Crud/src/Components/BaseResource.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
},
142142
})
143143
.then((response) => {
144+
history.pushState("", document.title, window.location.pathname + window.location.search);
145+
144146
if (typeof this.afterUpdate === 'function') {
145147
this.afterUpdate(response.data.data).then(() => {
146148
resolve();

0 commit comments

Comments
 (0)