|
@@ -276,6 +276,20 @@ export default {
|
|
|
return isThisOrgUndefined ? allOrg : thisOrg;
|
|
|
},
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ "loginForm.accountValue": function () {
|
|
|
+ if (Date.now() - this.resetGeeTime > 60 * 1000) {
|
|
|
+ this.captchaObj.destroy();
|
|
|
+ this.resetGeeTime = Date.now();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "loginForm.password": function () {
|
|
|
+ if (Date.now() - this.resetGeeTime > 60 * 1000) {
|
|
|
+ this.captchaObj.destroy();
|
|
|
+ this.resetGeeTime = Date.now();
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
async mounted() {
|
|
|
// this.testServiceWorker();
|
|
|
|