更新
This commit is contained in:
@@ -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("}"))
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 3,
|
||||
"name": "TEMU助手",
|
||||
"description": "TEMU助手 - 自动化提高生产效率",
|
||||
"version": "3.0.5",
|
||||
"version": "3.0.6",
|
||||
"background": {
|
||||
"service_worker": "/background.js"
|
||||
},
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -367,7 +367,7 @@ import {sendTemuAPIMessage} from '@/api/chromeApi'
|
||||
}
|
||||
} else {
|
||||
this.isLoading = false
|
||||
this.$message.error("采集失败,请检查网络情况")
|
||||
this.$message.error("采集失败,请检查https://www.temu.com是否能正常访问")
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user