This commit is contained in:
liushiwei
2023-10-31 10:52:27 +08:00
parent 9909a938ca
commit 66c89f71e1
4 changed files with 6 additions and 6 deletions

View File

@@ -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("}"))

View File

@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "TEMU助手",
"description": "TEMU助手 - 自动化提高生产效率",
"version": "3.0.5",
"version": "3.0.6",
"background": {
"service_worker": "/background.js"
},

View File

@@ -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"))

View File

@@ -367,7 +367,7 @@ import {sendTemuAPIMessage} from '@/api/chromeApi'
}
} else {
this.isLoading = false
this.$message.error("采集失败,请检查网络情况")
this.$message.error("采集失败,请检查https://www.temu.com是否能正常访问")
}
})
}