Browse Source

[add] discord callback

wenliming 2 năm trước cách đây
mục cha
commit
43ac0f2a4d
1 tập tin đã thay đổi với 25 bổ sung0 xóa
  1. 25 0
      pages/auth/discordCallback.vue

+ 25 - 0
pages/auth/discordCallback.vue

@@ -0,0 +1,25 @@
+<template>
+  <div>
+    <div id="de-discord-code">{{code}}</div>
+  </div>
+</template>
+
+<script>
+export default {
+	name: "discordCallback",
+  data() {
+		return {
+			code: ''
+    }
+  },
+  mounted () {
+		this.code = this.$route.query.code || '';
+	}
+}
+</script>
+
+<style scoped>
+  #de-discord-code{
+    display: none;
+  }
+</style>