|
@@ -352,7 +352,9 @@
|
|
|
},
|
|
|
created() {
|
|
|
// window.location.href = 'investigate.html'
|
|
|
- this.validate(); // 生成验证码
|
|
|
+ setTimeout(() => {
|
|
|
+ this.validate(); // 生成验证码
|
|
|
+ },200)
|
|
|
},
|
|
|
mounted() {
|
|
|
// this.$dialog.alert({
|
|
@@ -406,8 +408,10 @@
|
|
|
}).then(res => {
|
|
|
|
|
|
})
|
|
|
+ console.log(11111111111)
|
|
|
getActivationCode(this.username, this.tagId, this.uuid, captchaVerification).then(res => {
|
|
|
this.$toast.clear();
|
|
|
+ console.log(11111111111)
|
|
|
if (res.status === 0) {
|
|
|
//此处为点击的dom的类名
|
|
|
this.code = res.data;
|
|
@@ -505,8 +509,8 @@
|
|
|
return true
|
|
|
},
|
|
|
ready: function () { }, //加载完毕的回调
|
|
|
- success: function (params) { //成功的回调
|
|
|
- createCopy(params.captchaVerification);
|
|
|
+ success: (params) => { //成功的回调
|
|
|
+ this.createCopy(params.captchaVerification);
|
|
|
},
|
|
|
error: function () {}
|
|
|
});
|