Skip to content

Commit 756ad5e

Browse files
committed
fix get url
1 parent 618872f commit 756ad5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/modals/views/PropertiesModal.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ export default {
131131
})
132132
.then((response) => {
133133
if (response.data.result.status === 'success') {
134-
this.url = response.data.url;
134+
const url = new URL(response.data.url);
135+
136+
this.url = url.pathname;
135137
}
136138
});
137139
},

0 commit comments

Comments
 (0)