From d9f277335044119ab1616aa3a3058e03b20633ac Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期四, 20 七月 2023 17:59:40 +0800
Subject: [PATCH] 1、增加ALLCODE数据保存时通过ID判断是否有重复数据如果有重复数据则报错。
---
Source/UBCS-WEB/dist/src/page/login/authredirect.vue | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Source/UBCS-WEB/dist/src/page/login/authredirect.vue b/Source/UBCS-WEB/dist/src/page/login/authredirect.vue
new file mode 100644
index 0000000..15cbce1
--- /dev/null
+++ b/Source/UBCS-WEB/dist/src/page/login/authredirect.vue
@@ -0,0 +1,20 @@
+<template>
+ <div></div>
+</template>
+
+<script>
+export default {
+ name: 'authredirect',
+ created () {
+ window.close()
+ const params = this.$route.query
+ const state = params.state
+ const code = params.code
+ window.opener.location.href = `${window.location.origin}/#/login?state=${state}&code=${code}`
+ }
+}
+</script>
+
+
+<style>
+</style>
--
Gitblit v1.10.0