修复设备名消失的问题
This commit is contained in:
parent
d2569cb158
commit
77913756c9
1
dist/css/settings.737c08f8.css
vendored
Normal file
1
dist/css/settings.737c08f8.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.account[data-v-588ad294]{width:100%;min-height:100%;background:#fff}.account .expand[data-v-588ad294]{width:100%;margin:0!important;min-height:1.2rem!important;margin-top:.5rem!important}.account .time-content[data-v-588ad294]{text-align:right!important}.account .loading-box[data-v-588ad294]{position:absolute;right:50%;top:50%;margin-right:-11px;margin-top:-11px}.account .toolbar[data-v-588ad294]{position:fixed!important}
|
1
dist/css/settings.d0ed5d4b.css
vendored
1
dist/css/settings.d0ed5d4b.css
vendored
@ -1 +0,0 @@
|
||||
.account[data-v-3f5a369c]{width:100%;min-height:100%;background:#fff}.account .expand[data-v-3f5a369c]{width:100%;margin:0!important;min-height:1.2rem!important;margin-top:.5rem!important}.account .time-content[data-v-3f5a369c]{text-align:right!important}.account .loading-box[data-v-3f5a369c]{position:absolute;right:50%;top:50%;margin-right:-11px;margin-top:-11px}.account .toolbar[data-v-3f5a369c]{position:fixed!important}
|
1
dist/css/unlock.469f184d.css
vendored
1
dist/css/unlock.469f184d.css
vendored
@ -1 +0,0 @@
|
||||
.unlock[data-v-7da8472a]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-7da8472a]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-7da8472a]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-7da8472a]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-7da8472a]{margin-top:1rem}.dark-theme-unlock[data-v-7da8472a]{background:#424242}.dark-theme-unlock .center[data-v-7da8472a]{color:#fff!important}.tips[data-v-7da8472a]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-7da8472a]{padding-bottom:1rem}.qq-link[data-v-7da8472a]{color:#448aff}
|
1
dist/css/unlock.e5b586c1.css
vendored
Normal file
1
dist/css/unlock.e5b586c1.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.unlock[data-v-ad388aae]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-ad388aae]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-ad388aae]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-ad388aae]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-ad388aae]{margin-top:1rem}.dark-theme-unlock[data-v-ad388aae]{background:#424242}.dark-theme-unlock .center[data-v-ad388aae]{color:#fff!important}.tips[data-v-ad388aae]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-ad388aae]{padding-bottom:1rem}.qq-link[data-v-ad388aae]{color:#448aff}
|
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -9,4 +9,4 @@
|
||||
'font-size:12px;color:#999999;', (new Date).getFullYear());
|
||||
}
|
||||
catch (e) {
|
||||
}</script><link href="/css/account.9f35b946.css" rel="prefetch"><link href="/css/add.caa4e153.css" rel="prefetch"><link href="/css/detail.77dce31c.css" rel="prefetch"><link href="/css/generator.51264771.css" rel="prefetch"><link href="/css/home.a8e69ca9.css" rel="prefetch"><link href="/css/settings.d0ed5d4b.css" rel="prefetch"><link href="/css/unlock.469f184d.css" rel="prefetch"><link href="/css/updatelog.78701de0.css" rel="prefetch"><link href="/js/account.b00aa23b.js" rel="prefetch"><link href="/js/account~add~detail~generator~home~settings~unlock~updatelog.1622c46c.js" rel="prefetch"><link href="/js/account~add~detail~home~settings~unlock.aaf0496a.js" rel="prefetch"><link href="/js/account~settings.4b80635a.js" rel="prefetch"><link href="/js/add.97f8e124.js" rel="prefetch"><link href="/js/detail.a57f140f.js" rel="prefetch"><link href="/js/generator.5053f9a4.js" rel="prefetch"><link href="/js/home.d3e0e73f.js" rel="prefetch"><link href="/js/settings.9076774f.js" rel="prefetch"><link href="/js/unlock.c140521e.js" rel="prefetch"><link href="/js/updatelog.fc998413.js" rel="prefetch"><link href="/css/app.618e4370.css" rel="preload" as="style"><link href="/css/chunk-vendors.de365249.css" rel="preload" as="style"><link href="/js/app.9e5c51d4.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.57407df0.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.de365249.css" rel="stylesheet"><link href="/css/app.618e4370.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#448aff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Canary Codebook"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#448aff"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but codebook doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.57407df0.js"></script><script type="module" src="/js/app.9e5c51d4.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.52a85fc0.js" nomodule></script><script src="/js/app-legacy.afaf4766.js" nomodule></script></body></html>
|
||||
}</script><link href="/css/account.9f35b946.css" rel="prefetch"><link href="/css/add.caa4e153.css" rel="prefetch"><link href="/css/detail.77dce31c.css" rel="prefetch"><link href="/css/generator.51264771.css" rel="prefetch"><link href="/css/home.a8e69ca9.css" rel="prefetch"><link href="/css/settings.737c08f8.css" rel="prefetch"><link href="/css/unlock.e5b586c1.css" rel="prefetch"><link href="/css/updatelog.78701de0.css" rel="prefetch"><link href="/js/account.b00aa23b.js" rel="prefetch"><link href="/js/account~add~detail~generator~home~settings~unlock~updatelog.4ba40b53.js" rel="prefetch"><link href="/js/account~add~detail~home~settings~unlock.aaf0496a.js" rel="prefetch"><link href="/js/account~settings.4b80635a.js" rel="prefetch"><link href="/js/add.97f8e124.js" rel="prefetch"><link href="/js/detail.a57f140f.js" rel="prefetch"><link href="/js/generator.5053f9a4.js" rel="prefetch"><link href="/js/home.d3e0e73f.js" rel="prefetch"><link href="/js/settings.5643923f.js" rel="prefetch"><link href="/js/unlock.8f46929c.js" rel="prefetch"><link href="/js/updatelog.fc998413.js" rel="prefetch"><link href="/css/app.618e4370.css" rel="preload" as="style"><link href="/css/chunk-vendors.de365249.css" rel="preload" as="style"><link href="/js/app.d69af120.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.57407df0.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.de365249.css" rel="stylesheet"><link href="/css/app.618e4370.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#448aff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Canary Codebook"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#448aff"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but codebook doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.57407df0.js"></script><script type="module" src="/js/app.d69af120.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.52a85fc0.js" nomodule></script><script src="/js/app-legacy.df7c572f.js" nomodule></script></body></html>
|
File diff suppressed because one or more lines are too long
1
dist/js/account~add~detail~generator~home~settings~unlock~updatelog-legacy.62afb7b1.js
vendored
Normal file
1
dist/js/account~add~detail~generator~home~settings~unlock~updatelog-legacy.62afb7b1.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/account~add~detail~generator~home~settings~unlock~updatelog.4ba40b53.js
vendored
Normal file
1
dist/js/account~add~detail~generator~home~settings~unlock~updatelog.4ba40b53.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/app-legacy.afaf4766.js
vendored
1
dist/js/app-legacy.afaf4766.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/app-legacy.df7c572f.js
vendored
Normal file
1
dist/js/app-legacy.df7c572f.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/js/settings-legacy.255786b8.js
vendored
1
dist/js/settings-legacy.255786b8.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/settings-legacy.32a90902.js
vendored
Normal file
1
dist/js/settings-legacy.32a90902.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/settings.5643923f.js
vendored
Normal file
1
dist/js/settings.5643923f.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/settings.9076774f.js
vendored
1
dist/js/settings.9076774f.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/unlock-legacy.2ddc29d3.js
vendored
Normal file
1
dist/js/unlock-legacy.2ddc29d3.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/unlock-legacy.5b471fc5.js
vendored
1
dist/js/unlock-legacy.5b471fc5.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/unlock.8f46929c.js
vendored
Normal file
1
dist/js/unlock.8f46929c.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/unlock.c140521e.js
vendored
1
dist/js/unlock.c140521e.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/updatelog-legacy.6a2a19c4.js
vendored
Normal file
1
dist/js/updatelog-legacy.6a2a19c4.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["updatelog"],{1356:function(t,e,i){},8263:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"account"},[i("md-app",{attrs:{"md-waterfall":"","md-mode":"fixed"}},[i("md-app-toolbar",{staticClass:"md-primary toolbar"},[i("div",{staticClass:"md-toolbar-section-start"},[i("md-button",{staticClass:"md-icon-button",on:{click:function(e){return t.back()}}},[i("md-icon",[t._v("arrow_back")])],1),i("h3",{staticClass:"md-title",staticStyle:{flex:"1"}},[t._v(t._s(t.lang.title))])],1)]),i("md-app-content",[i("v-touch",{attrs:{"swipe-options":{direction:"horizontal"}},on:{swiperight:function(e){return t.back()}}},[i("div",{ref:"list_placeholder",staticStyle:{height:"54px"}}),i("md-steppers",{attrs:{"md-vertical":""}},t._l(t.lang.timeline,(function(e,n){return i("md-step",{key:n,attrs:{id:n.toString(),"md-label":e.label,"md-description":e.tag}},t._l(e.content,(function(e,n){return i("p",{key:n},[t._v(t._s(e))])})),0)})),1)],1)],1)],1)],1)},o=[],s=(i("fae2"),i("0bd5"),i("9b42"),i("d211")),a=i("cf6b"),c=i("36f0"),l=i("e6a3"),r=i("bfd3"),d={name:"UpdateLog",data:function(){return{lang:"",clientHeight:""}},computed:Object(s["a"])({},Object(a["c"])(["row_pwd","settings","user_infos"])),methods:Object(s["a"])(Object(s["a"])({},Object(a["b"])(["setSettings","setUserInfo"])),{},{changeFixed:function(t){this.$refs.list_placeholder.parentNode.parentNode.style.maxHeight=t+"px",this.$refs.list_placeholder.parentNode.style.minHeight=t-32+"px",window.document.documentElement.setAttribute("data-theme",this.settings.is_dark_mode?"dark":"light")},init:function(){if(r["a"].call(this),0!=Object.keys(this.row_pwd).length){var t=(new Date).getTime();t-this.row_pwd.create_time<this.settings.expired_time?this.initLanguage():this.turnToHome("密码超时")}else this.turnToHome("无密码")},initLanguage:function(){this.settings.is_chinese?this.lang=Object(c["a"])().update_log.CHS:this.lang=Object(c["a"])().update_log.EN,console.log("语言配置完成")},back:function(){this.$router.go(-1)},turnToHome:function(t){console.log(t),this.$router.replace("/")}}),created:function(){this.lang=Object(c["a"])().update_log.CHS,console.log("临时语言系统加载完成"),this.init()},mounted:function(){this.clientHeight="".concat(document.documentElement.clientHeight),window.onresize=function(){this.clientHeight="".concat(document.documentElement.clientHeight),Object(l["a"])()}.bind(this)},watch:{clientHeight:function(){this.changeFixed(this.clientHeight)}},beforeDestroy:function(){},components:{}},u=d,h=(i("ac6d"),i("5d22")),m=Object(h["a"])(u,n,o,!1,null,"9506fa88",null);e["default"]=m.exports},ac6d:function(t,e,i){"use strict";i("1356")}}]);
|
1
dist/js/updatelog-legacy.b5aaee55.js
vendored
1
dist/js/updatelog-legacy.b5aaee55.js
vendored
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/css/add.caa4e153.css"
|
||||
},
|
||||
{
|
||||
"revision": "6fccf293fb64072e8ecd",
|
||||
"revision": "0a97c77030d4871aca18",
|
||||
"url": "/css/app.618e4370.css"
|
||||
},
|
||||
{
|
||||
@ -20,7 +20,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/css/detail.77dce31c.css"
|
||||
},
|
||||
{
|
||||
"revision": "9dd8d075b3c164a39ca3",
|
||||
"revision": "f1cdc5ed8d6999f1956b",
|
||||
"url": "/css/generator.51264771.css"
|
||||
},
|
||||
{
|
||||
@ -28,15 +28,15 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/css/home.a8e69ca9.css"
|
||||
},
|
||||
{
|
||||
"revision": "84c3c79dbe7a4948ee77",
|
||||
"url": "/css/settings.d0ed5d4b.css"
|
||||
"revision": "89793389e807e38a2fae",
|
||||
"url": "/css/settings.737c08f8.css"
|
||||
},
|
||||
{
|
||||
"revision": "07056c990ae300ac33a3",
|
||||
"url": "/css/unlock.469f184d.css"
|
||||
"revision": "6ffa77ca490398877184",
|
||||
"url": "/css/unlock.e5b586c1.css"
|
||||
},
|
||||
{
|
||||
"revision": "96e9efbf1d670befbe6e",
|
||||
"revision": "6f68c46ab2433b6a65a9",
|
||||
"url": "/css/updatelog.78701de0.css"
|
||||
},
|
||||
{
|
||||
@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/fonts/MaterialIcons-Regular.e79bfd88.eot"
|
||||
},
|
||||
{
|
||||
"revision": "9bb4ba9ce2b398d3af466310de0ab020",
|
||||
"revision": "055939e1cbf2c21b71d034321f59e420",
|
||||
"url": "/index.html"
|
||||
},
|
||||
{
|
||||
@ -64,12 +64,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/account-legacy.cce3577e.js"
|
||||
},
|
||||
{
|
||||
"revision": "b47f1b2b176b845e0340",
|
||||
"url": "/js/account~add~detail~generator~home~settings~unlock-legacy.105db3ce.js"
|
||||
"revision": "2b0fe0d530267544ef3d",
|
||||
"url": "/js/account~add~detail~generator~home~settings~unlock~updatelog-legacy.62afb7b1.js"
|
||||
},
|
||||
{
|
||||
"revision": "b525acec1bb318ec08d9",
|
||||
"url": "/js/account~add~detail~home~settings~unlock-legacy.e9d1198f.js"
|
||||
"revision": "a249fdd3813cdcec2318",
|
||||
"url": "/js/account~add~detail~home~settings~unlock-legacy.b287b6d5.js"
|
||||
},
|
||||
{
|
||||
"revision": "100f87010db97059f9c6",
|
||||
@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/add-legacy.afa49e75.js"
|
||||
},
|
||||
{
|
||||
"revision": "6fccf293fb64072e8ecd",
|
||||
"url": "/js/app-legacy.afaf4766.js"
|
||||
"revision": "0a97c77030d4871aca18",
|
||||
"url": "/js/app-legacy.df7c572f.js"
|
||||
},
|
||||
{
|
||||
"revision": "4c57b04aa432c3c1e47f",
|
||||
@ -92,24 +92,24 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/detail-legacy.5a992a7f.js"
|
||||
},
|
||||
{
|
||||
"revision": "9dd8d075b3c164a39ca3",
|
||||
"url": "/js/generator-legacy.551122d2.js"
|
||||
"revision": "f1cdc5ed8d6999f1956b",
|
||||
"url": "/js/generator-legacy.ec8ad9cd.js"
|
||||
},
|
||||
{
|
||||
"revision": "0d544cea663cdb1f1834",
|
||||
"url": "/js/home-legacy.09cf4fec.js"
|
||||
},
|
||||
{
|
||||
"revision": "84c3c79dbe7a4948ee77",
|
||||
"url": "/js/settings-legacy.255786b8.js"
|
||||
"revision": "89793389e807e38a2fae",
|
||||
"url": "/js/settings-legacy.32a90902.js"
|
||||
},
|
||||
{
|
||||
"revision": "07056c990ae300ac33a3",
|
||||
"url": "/js/unlock-legacy.5b471fc5.js"
|
||||
"revision": "6ffa77ca490398877184",
|
||||
"url": "/js/unlock-legacy.2ddc29d3.js"
|
||||
},
|
||||
{
|
||||
"revision": "96e9efbf1d670befbe6e",
|
||||
"url": "/js/updatelog-legacy.b5aaee55.js"
|
||||
"revision": "6f68c46ab2433b6a65a9",
|
||||
"url": "/js/updatelog-legacy.6a2a19c4.js"
|
||||
},
|
||||
{
|
||||
"revision": "f60e661e0decdbb92df9918d3ae4856d",
|
@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/css/add.caa4e153.css"
|
||||
},
|
||||
{
|
||||
"revision": "04a748cb97e5a1062151",
|
||||
"revision": "2e6ef3d9bd8a6c634d81",
|
||||
"url": "/css/app.618e4370.css"
|
||||
},
|
||||
{
|
||||
@ -28,12 +28,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/css/home.a8e69ca9.css"
|
||||
},
|
||||
{
|
||||
"revision": "be3a764293e8717bef22",
|
||||
"url": "/css/settings.d0ed5d4b.css"
|
||||
"revision": "7747867f60fd581faae0",
|
||||
"url": "/css/settings.737c08f8.css"
|
||||
},
|
||||
{
|
||||
"revision": "6fdb8d71910a1dc2c5d8",
|
||||
"url": "/css/unlock.469f184d.css"
|
||||
"revision": "5a2d77907be3c653d76b",
|
||||
"url": "/css/unlock.e5b586c1.css"
|
||||
},
|
||||
{
|
||||
"revision": "bfdfecbd523566862251",
|
||||
@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/fonts/MaterialIcons-Regular.e79bfd88.eot"
|
||||
},
|
||||
{
|
||||
"revision": "7e057e8d2430d7b6630122957ac58654",
|
||||
"revision": "bf6eb3938925a38d1dc6fbd15ea0ffb8",
|
||||
"url": "/index.html"
|
||||
},
|
||||
{
|
||||
@ -64,8 +64,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/account.b00aa23b.js"
|
||||
},
|
||||
{
|
||||
"revision": "49dfdd98054d4d08e271",
|
||||
"url": "/js/account~add~detail~generator~home~settings~unlock~updatelog.1622c46c.js"
|
||||
"revision": "cb87269f7b08aabb5b5f",
|
||||
"url": "/js/account~add~detail~generator~home~settings~unlock~updatelog.4ba40b53.js"
|
||||
},
|
||||
{
|
||||
"revision": "a5c93643f51e67f65dc5",
|
||||
@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/add.97f8e124.js"
|
||||
},
|
||||
{
|
||||
"revision": "04a748cb97e5a1062151",
|
||||
"url": "/js/app.9e5c51d4.js"
|
||||
"revision": "2e6ef3d9bd8a6c634d81",
|
||||
"url": "/js/app.d69af120.js"
|
||||
},
|
||||
{
|
||||
"revision": "c4a8294b2fc840a49c68",
|
||||
@ -100,12 +100,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
"url": "/js/home.d3e0e73f.js"
|
||||
},
|
||||
{
|
||||
"revision": "be3a764293e8717bef22",
|
||||
"url": "/js/settings.9076774f.js"
|
||||
"revision": "7747867f60fd581faae0",
|
||||
"url": "/js/settings.5643923f.js"
|
||||
},
|
||||
{
|
||||
"revision": "6fdb8d71910a1dc2c5d8",
|
||||
"url": "/js/unlock.c140521e.js"
|
||||
"revision": "5a2d77907be3c653d76b",
|
||||
"url": "/js/unlock.8f46929c.js"
|
||||
},
|
||||
{
|
||||
"revision": "bfdfecbd523566862251",
|
2
dist/service-worker.js
vendored
2
dist/service-worker.js
vendored
@ -14,7 +14,7 @@
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||
|
||||
importScripts(
|
||||
"/precache-manifest.7c4a8bfa598c716013f3f4c4979ab0cf.js"
|
||||
"/precache-manifest.4c83f6dbf1910f90f40b382dd5d1551c.js"
|
||||
);
|
||||
|
||||
workbox.core.setCacheNameDetails({prefix: "codebook"});
|
||||
|
@ -44,11 +44,17 @@ export function lang() {
|
||||
CHS: {
|
||||
title: '设置',
|
||||
subheader: ['重置', '选项', '导入 / 导出'],
|
||||
reset_list: ['账户', '密码本', '应用', '主密码'],
|
||||
reset_list: ['账户', '密码本', '应用', '主密码', '设备名'],
|
||||
option_list: ['语言', '黑暗模式', '密码超时时间'],
|
||||
import_export_list: ['导入密码本', '导出密码本'],
|
||||
expired_time: '无限',
|
||||
dialog: {
|
||||
drivce_dialog: {
|
||||
title: '输入新的设备名',
|
||||
placeholder: '输入...',
|
||||
confirm: '完成',
|
||||
cancel: '取消'
|
||||
},
|
||||
pwd_dialog: {
|
||||
title: '输入新的主密码',
|
||||
placeholder: '输入...',
|
||||
confirm: '完成',
|
||||
@ -70,6 +76,8 @@ export function lang() {
|
||||
reset_settings: '恭喜! 个性化设置成功',
|
||||
reset_pwd_failed: '密码不能为空',
|
||||
reset_pwd_successful: '恭喜! 新的密码已经应用',
|
||||
reset_drivce_failed: '设备名不能为空',
|
||||
reset_drivce_successful: '恭喜! 新的设备名已经应用',
|
||||
reset_row_data_failed: '密码本内容不能为空',
|
||||
reset_row_data_successful: '恭喜! 新的密码本已经应用',
|
||||
},
|
||||
@ -83,11 +91,17 @@ export function lang() {
|
||||
EN: {
|
||||
title: 'Settings',
|
||||
subheader: ['Reset', 'Option', 'Import / Export'],
|
||||
reset_list: ['Account', 'Codebook', 'Application', 'Main Password'],
|
||||
reset_list: ['Account', 'Codebook', 'Application', 'Main Password', 'Drivce Name'],
|
||||
option_list: ['Language', 'Dark Mode', 'Expired Time'],
|
||||
expired_time: 'Infinite',
|
||||
import_export_list: ['Import Codebook', 'Export Codebook'],
|
||||
dialog: {
|
||||
drivce_dialog: {
|
||||
title: 'Enter new drivce name',
|
||||
placeholder: 'Enter here...',
|
||||
confirm: 'Done',
|
||||
cancel: 'Cancel'
|
||||
},
|
||||
pwd_dialog: {
|
||||
title: 'Enter new password',
|
||||
placeholder: 'Enter here...',
|
||||
confirm: 'Done',
|
||||
@ -109,6 +123,8 @@ export function lang() {
|
||||
reset_settings: 'Congratulations! Reset settings completed',
|
||||
reset_pwd_failed: 'Password can not be none',
|
||||
reset_pwd_successful: 'Congratulations! New password set up successfully',
|
||||
reset_drivce_failed: 'Drivce name can not be none',
|
||||
reset_drivce_successful: 'Congratulations! New drivce name set up successfully',
|
||||
reset_row_data_failed: 'Codebook Content can not be none',
|
||||
reset_row_data_successful: 'Congratulations! New Codebook Content set up successfully'
|
||||
},
|
||||
@ -310,6 +326,14 @@ export function lang() {
|
||||
CHS: {
|
||||
title: '更新日志',
|
||||
timeline: [
|
||||
{
|
||||
label: '修复设备名在解锁之后消失的问题',
|
||||
tag: 'bug修复',
|
||||
content: [
|
||||
'设备名会在解锁密码本之后被覆写为空,已修复',
|
||||
'2021-03-06'
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '解锁输入密码后可以直接回车',
|
||||
tag: '功能更新',
|
||||
@ -475,6 +499,14 @@ export function lang() {
|
||||
EN: {
|
||||
title: 'Update Log',
|
||||
timeline: [
|
||||
{
|
||||
label: 'Fixed issue with device name disappearing after unlocking',
|
||||
tag: 'Bug fix',
|
||||
content: [
|
||||
'The device name will be overwritten as empty after the password book is unlocked. This is fixed',
|
||||
'2021-03-06'
|
||||
]
|
||||
},
|
||||
{
|
||||
label: 'You can enter the password directly after unlocking',
|
||||
tag: 'Feature update',
|
||||
|
@ -48,11 +48,16 @@
|
||||
></md-progress-spinner>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item @click="open_dialog">
|
||||
<md-list-item @click="reset_main_pwd_dialog">
|
||||
<md-icon>vpn_key</md-icon>
|
||||
<span class="md-list-item-text">{{ lang.reset_list[3] }}</span>
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item @click="reset_drivce_name_dialog">
|
||||
<md-icon>text_fields</md-icon>
|
||||
<span class="md-list-item-text">{{ lang.reset_list[4] }}</span>
|
||||
</md-list-item>
|
||||
|
||||
<md-divider></md-divider>
|
||||
|
||||
<md-subheader class="md-primary">{{ lang.subheader[1] }}</md-subheader>
|
||||
@ -115,14 +120,25 @@
|
||||
<md-dialog-prompt
|
||||
:md-active.sync="reset_main_pwd_active"
|
||||
v-model="new_main_pwd"
|
||||
:md-title="lang.dialog.title"
|
||||
:md-title="lang.pwd_dialog.title"
|
||||
md-input-maxlength="30"
|
||||
:md-input-placeholder="lang.dialog.placeholder"
|
||||
:md-confirm-text="lang.dialog.confirm"
|
||||
:md-cancel-text="lang.dialog.cancel"
|
||||
:md-input-placeholder="lang.pwd_dialog.placeholder"
|
||||
:md-confirm-text="lang.pwd_dialog.confirm"
|
||||
:md-cancel-text="lang.pwd_dialog.cancel"
|
||||
@md-confirm="resetPwd"
|
||||
/>
|
||||
|
||||
<md-dialog-prompt
|
||||
:md-active.sync="reset_drivce_name_active"
|
||||
v-model="new_drivce_name"
|
||||
:md-title="lang.drivce_dialog.title"
|
||||
md-input-maxlength="30"
|
||||
:md-input-placeholder="lang.drivce_dialog.placeholder"
|
||||
:md-confirm-text="lang.drivce_dialog.confirm"
|
||||
:md-cancel-text="lang.drivce_dialog.cancel"
|
||||
@md-confirm="resetDrivce"
|
||||
/>
|
||||
|
||||
<md-dialog-confirm
|
||||
:md-active.sync="reset_confirm"
|
||||
:md-title="lang.reset_dialog.title"
|
||||
@ -165,9 +181,11 @@ export default {
|
||||
codebook_loading: false,
|
||||
application_loading: false,
|
||||
reset_main_pwd_active: false,
|
||||
reset_drivce_name_active: false,
|
||||
new_row_data: "",
|
||||
reset_row_data_active: false,
|
||||
new_main_pwd: "",
|
||||
new_drivce_name: "",
|
||||
reset_active: false,
|
||||
// 设置状态
|
||||
is_chinese: false,
|
||||
@ -358,10 +376,14 @@ export default {
|
||||
this.show_snackbar = true;
|
||||
},
|
||||
|
||||
open_dialog() {
|
||||
reset_main_pwd_dialog() {
|
||||
this.reset_main_pwd_active = true;
|
||||
},
|
||||
|
||||
reset_drivce_name_dialog() {
|
||||
this.reset_drivce_name_active = true;
|
||||
},
|
||||
|
||||
resetRowData(new_row_data) {
|
||||
// 空内容拦截器
|
||||
if (!new_row_data.trim()) {
|
||||
@ -374,6 +396,19 @@ export default {
|
||||
this.show_snackbar = true;
|
||||
},
|
||||
|
||||
resetDrivce(new_drivce_name) {
|
||||
// 空内容拦截起
|
||||
if (!new_drivce_name.trim()) {
|
||||
this.snakebar_msg = this.lang.snakebar_msg.reset_drivce_failed;
|
||||
this.show_snackbar = true;
|
||||
}
|
||||
let user_infos = this.user_infos;
|
||||
user_infos.drivce = new_drivce_name;
|
||||
this.setUserInfo([user_infos, this]);
|
||||
this.snakebar_msg = this.lang.snakebar_msg.reset_drivce_successful;
|
||||
this.show_snackbar = true;
|
||||
},
|
||||
|
||||
resetPwd(new_main_pwd) {
|
||||
// 空内容拦截器
|
||||
if (!new_main_pwd.trim()) {
|
||||
|
@ -182,9 +182,11 @@ export default {
|
||||
main_code: main_code_aes,
|
||||
create_time: new Date().getTime(),
|
||||
};
|
||||
let user_infos = this.user_infos;
|
||||
user_infos.drivce = this.drivce;
|
||||
this.setUserInfo([user_infos, this]);
|
||||
if (this.is_create) {
|
||||
let user_infos = this.user_infos;
|
||||
user_infos.drivce = this.drivce;
|
||||
this.setUserInfo([user_infos, this]);
|
||||
}
|
||||
this.setRowPwd([row_pwd, this]);
|
||||
console.log("主密码设置完成,返回Home");
|
||||
this.$router.replace("/");
|
||||
|
Loading…
x
Reference in New Issue
Block a user