Переглянути джерело

修改ai工具上传埋点错误

11wqe1 1 місяць тому
батько
коміт
e79c29141b

+ 2 - 2
src/components/components/appStoreC.vue

@@ -85,7 +85,7 @@ import { myMixin } from "@/mixins/mixin.js"
                 const pptJsonFile = new File([pptJsonStr], "pptData.json", { type: "application/json" });
                 // 你可以根据需要将pptJsonFile上传或保存
 
-                let _url = await this.uploadFile(pptJsonFile);
+                let Cow = await this.uploadFile(pptJsonFile);
                 console.log(_url)
                 // return
                 
@@ -96,7 +96,7 @@ import { myMixin } from "@/mixins/mixin.js"
                         stage: this.courseType,
                         task: this.taskCount,
                         tool: this.toolindex,
-                        content: _url,
+                        content: Cow,
                         type: 20,
                         atool:72
                     }

+ 2 - 2
src/components/components/choseWorksDetailDialog.vue

@@ -1939,7 +1939,7 @@ export default {
         const pptJsonFile = new File([pptJsonStr], "pptData.json", { type: "application/json" });
         // 你可以根据需要将pptJsonFile上传或保存
 
-        let _url = await this.uploadFile(pptJsonFile);
+        let Cow = await this.uploadFile(pptJsonFile);
         // uid: this.userId,
         //       cid: this.id,
         //       stage: this.courseType,
@@ -1955,7 +1955,7 @@ export default {
             stage: this.courseType,
             task: this.taskCount,
             tool: this.toolIndex,
-            content: _url,
+            content: Cow,
             type: 20,
             atool: 72
             }