diff --git a/src/components/AiCopyFromTemu.vue b/src/components/AiCopyFromTemu.vue index 62a699b..2978705 100644 --- a/src/components/AiCopyFromTemu.vue +++ b/src/components/AiCopyFromTemu.vue @@ -135,12 +135,12 @@ export default { url: this.form.url, }).then((res) => { if (this.form.type == '1') { - if (res.indexOf("rawData") == -1) { - this.isCopying = falses + if (res.indexOf("window.rawData") == -1) { + this.isCopying = false Message.error("请检查地址是否正确,或者“TEMU”网站是否出现图形验证码") return } - let str = res.substring(res.indexOf("rawData")) + let str = res.substring(res.indexOf("window.rawData")) str = str.substring(0, str.indexOf("<\/script>")) str = str.substring(str.indexOf("{")) str = str.substring(0, str.lastIndexOf("}")) diff --git a/src/manifest.production.json b/src/manifest.production.json index 95f60c9..f1e39b4 100644 --- a/src/manifest.production.json +++ b/src/manifest.production.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "TEMU助手", "description": "TEMU助手 - 自动化提高生产效率", - "version": "3.0.5", + "version": "3.0.6", "background": { "service_worker": "/background.js" }, diff --git a/src/view/selection/keywordtrack/components/List.vue b/src/view/selection/keywordtrack/components/List.vue index 568a96d..b5db170 100644 --- a/src/view/selection/keywordtrack/components/List.vue +++ b/src/view/selection/keywordtrack/components/List.vue @@ -333,7 +333,7 @@ import { Message } from 'element-ui' this.isLoading = false } if (res.indexOf("rawData") == -1) { - Message.error("请检查地址是否正确,或者“TEMU”网站是否出现图形验证码") + Message.error("采集失败,请检查https://www.temu.com是否能正常访问") return } let str = res.substring(res.indexOf("window.rawData")) diff --git a/src/view/selection/storetrack/components/List.vue b/src/view/selection/storetrack/components/List.vue index a9514e7..bbb109b 100644 --- a/src/view/selection/storetrack/components/List.vue +++ b/src/view/selection/storetrack/components/List.vue @@ -367,7 +367,7 @@ import {sendTemuAPIMessage} from '@/api/chromeApi' } } else { this.isLoading = false - this.$message.error("采集失败,请检查网络情况") + this.$message.error("采集失败,请检查https://www.temu.com是否能正常访问") } }) }