liyongli 2 rokov pred
rodič
commit
433e1753e6
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      src/view/chatGptChat/index.vue

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

@@ -91,6 +91,8 @@ function saveText() {
   }
   ChartGpt({
     prompt,
+    UserId: userData.value.UserId || '',
+    UserName: userData.value.UserName || '',
   })
     .then(r => {
       console.log(r);