diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 91db8e9..4cb587a 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -127,7 +127,7 @@ export default {
if (Object.keys(this.row_pwd).length != 0) {
// 有密码,已经输入过了
let now = new Date().getTime();
- if (now - this.row_pwd.create_time < 1000 * 60 * 5) {
+ if (now - this.row_pwd.create_time < 1000) {
// 上次写入时间距离现在在五分钟之内
this.unlock = true;
// 判断有无密码本
@@ -199,7 +199,7 @@ export default {
// this.setRowPwd([row_pwd, this]);
// console.log('主密码设置完成,返回init');
// this.init();
- if(type == '密码超时') this.$router.push({ name: "Unlock", params: { msg: 'Password validity period has expired, please re-enter' } })
+ if(type == '密码超时') this.$router.push({ name: "Unlock", params: { msg: 'Password validity period has expired, please re-enter.' } })
else this.$router.push('/unlock')
},
diff --git a/src/views/Unlock/Unlock.vue b/src/views/Unlock/Unlock.vue
index 67594b1..1ff5a03 100644
--- a/src/views/Unlock/Unlock.vue
+++ b/src/views/Unlock/Unlock.vue
@@ -3,19 +3,25 @@
{{ is_create ? 'Create Password' : 'Unlock' }}
{{ is_create ? 'Create New Password' : 'Unlock Canary Codebook' }}
+