liyongli před 2 roky
rodič
revize
5dac8eb734
2 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 4 0
      src/view/chatGptChat/index.js
  2. 1 0
      src/view/chatGptChat/index.vue

+ 4 - 0
src/view/chatGptChat/index.js

@@ -15,6 +15,10 @@ window.weixin_Share_Init(
   'https://cxzx.smcic.net/topic/activity/chatGptChat.html?' + Date.now()
 );
 
+window.appLoginSuccess = () => {
+    console.log("登录");
+    window.location.reload();
+  };
 // var SL = new window.SmcicLogger('shanshipin', 'c6124d95');
 // SL.Util.SetUrl('https://collect.smcic.net:8443/');
 // SL.Systematic.Init({

+ 1 - 0
src/view/chatGptChat/index.vue

@@ -65,6 +65,7 @@ import { ChartGpt } from '@/api/chatGpt';
  * window.$originData.urlParames url参数
  */
 console.log(window.$shanshipin);
+
 const userData = ref(window.$shanshipin || {});
 const chat = ref([]);
 const load = ref(false);