ソースを参照

Merge branch 'master' of http://git.izouma.com/xiongzhu/chatgpt-web

panhui 3 年 前
コミット
c0668fd37e
2 ファイル変更4 行追加1 行削除
  1. 3 0
      src/main.ts
  2. 1 1
      src/views/chat/layout/sider/Footer.vue

+ 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 + ',' + query.state)
+}
 
 async function bootstrap() {
     const app = createApp(App)

+ 1 - 1
src/views/chat/layout/sider/Footer.vue

@@ -5,7 +5,7 @@ import { useRouter } from 'vue-router'
 import { useBasicLayout } from '@/hooks/useBasicLayout'
 import { useAppStore } from '@/store'
 
-const Setting = defineAsyncComponent(() => import('@/components/common/Setting/SettingIndex.vue.js'))
+const Setting = defineAsyncComponent(() => import('@/components/common/Setting/SettingIndex.vue'))
 
 const show = ref(false)