From 0de3ae5137a5e3f6c3eae7277b5cd5523728debb Mon Sep 17 00:00:00 2001 From: CareyWong Date: Mon, 9 Mar 2020 00:24:28 +0800 Subject: [PATCH] Fix: short request method --- src/views/Subconverter.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Subconverter.vue b/src/views/Subconverter.vue index 9f785cd..7290a08 100644 --- a/src/views/Subconverter.vue +++ b/src/views/Subconverter.vue @@ -435,7 +435,9 @@ export default { this.loading = true; this.$axios - .get(shortUrlBackend + "?longUrl=" + btoa(this.customSubUrl)) + .post(shortUrlBackend, { + longUrl: btoa(this.customSubUrl) + }) .then(res => { if (res.data.Code === 1 && res.data.ShortUrl !== "") { this.curtomShortSubUrl = res.data.ShortUrl;