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