liyongli 2 years ago
parent
commit
433e1753e6
1 changed files with 2 additions and 0 deletions
  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);