更新
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("}"))
|
||||
|
||||
Reference in New Issue
Block a user