xiongzhu 3 years ago
parent
commit
123f2976e4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main.ts

+ 3 - 0
src/main.ts

@@ -12,6 +12,9 @@ console.log(query)
 if (query.invitor) {
     sessionStorage.setItem('invitor', query.invitor.toString())
 }
+if (query.code) {
+    alert(query.code)
+}
 
 async function bootstrap() {
     const app = createApp(App)