This commit is contained in:
kuaifan 2023-02-16 09:56:25 +08:00
parent 094b75c4f7
commit 9265080fcf
14 changed files with 28 additions and 13 deletions

View File

@ -2,12 +2,13 @@
All notable changes to this project will be documented in this file.
## [0.23.4]
## [0.23.6]
### Performance
- 优化首页
- 优化更新日志生成
- 优化翻译
## [0.22.99]

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.23.4",
"version": "0.23.6",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

2
public/js/app.js vendored

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
public/js/build/846.js vendored Normal file

File diff suppressed because one or more lines are too long

2
public/js/build/94.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
e55170f32b18df20
547e36aa359a1d65

View File

@ -652,6 +652,7 @@
{"CN":"导出XLSX","EN":"Export XLSX","TC":"導出XLSX","KO":"Xlsx로 내보낸다","JA":"XLSXを導出します","FR":"Exportez votre XLSX"},
{"CN":"APP推送","EN":"APP push","TC":"APP推送","KO":"App 푸시","JA":"アプリでプッシュします","FR":"Push par APP"},
{"CN":"MAC地址","EN":"MAC address","TC":"MAC地址","KO":"Mac 주소","JA":"MACアドレスです","FR":"Une adresse MAC"},
{"CN":"扫一扫","EN":"Scan","TC":"掃一掃","KO":"쓸어버리다","JA":"掃きます","FR":"Balayage et balayage"},
{"CN":"上个月","EN":"Last month","TC":"上個月","KO":"지난 달","JA":"先月です","FR":"Mois dernier"},
{"CN":"下划线","EN":"Underline","TC":"下劃線","KO":"밑줄","JA":"アンダーライン","FR":"Souligner"},
{"CN":"不同意","EN":"Disagree","TC":"不同意","KO":"동의하지 않다","JA":"同意しません","FR":"Ne pas accepter"},

View File

@ -783,7 +783,6 @@
"/js/build/192.js.LICENSE.txt": "/js/build/192.js.LICENSE.txt",
"/js/build/203.js": "/js/build/203.js",
"/js/build/203.js.LICENSE.txt": "/js/build/203.js.LICENSE.txt",
"/js/build/221.js": "/js/build/221.js",
"/js/build/228.js": "/js/build/228.js",
"/js/build/249.js": "/js/build/249.js",
"/js/build/27.js": "/js/build/27.js",
@ -791,8 +790,6 @@
"/js/build/295.js": "/js/build/295.js",
"/js/build/295.js.LICENSE.txt": "/js/build/295.js.LICENSE.txt",
"/js/build/298.js": "/js/build/298.js",
"/js/build/331.js": "/js/build/331.js",
"/js/build/331.js.LICENSE.txt": "/js/build/331.js.LICENSE.txt",
"/js/build/380.js": "/js/build/380.js",
"/js/build/380.js.LICENSE.txt": "/js/build/380.js.LICENSE.txt",
"/js/build/382.js": "/js/build/382.js",
@ -821,6 +818,7 @@
"/js/build/804.js": "/js/build/804.js",
"/js/build/826.js": "/js/build/826.js",
"/js/build/826.js.LICENSE.txt": "/js/build/826.js.LICENSE.txt",
"/js/build/846.js": "/js/build/846.js",
"/js/build/856.js": "/js/build/856.js",
"/js/build/856.js.LICENSE.txt": "/js/build/856.js.LICENSE.txt",
"/js/build/889.js": "/js/build/889.js",
@ -830,6 +828,8 @@
"/js/build/904.js": "/js/build/904.js",
"/js/build/920.js": "/js/build/920.js",
"/js/build/920.js.LICENSE.txt": "/js/build/920.js.LICENSE.txt",
"/js/build/94.js": "/js/build/94.js",
"/js/build/94.js.LICENSE.txt": "/js/build/94.js.LICENSE.txt",
"/js/build/940.js": "/js/build/940.js",
"/js/build/940.js.LICENSE.txt": "/js/build/940.js.LICENSE.txt",
"/js/build/947.js": "/js/build/947.js",

View File

@ -65,6 +65,8 @@
<DropdownItem @click.native="login">{{ $L("登录") }}</DropdownItem>
<DropdownItem @click.native="register">{{ $L("注册帐号") }}</DropdownItem>
</template>
<DropdownItem v-if="showItem.github" @click.native="windowOpen(showItem.github)">Github</DropdownItem>
<DropdownItem v-if="showItem.updateLog" @click.native="uplogShow=true">{{ $L("更新日志") }}</DropdownItem>
<Dropdown placement="right-start" @on-click="onLanguage" transfer>
<DropdownItem>
<div class="header-nav-dropdown-item">
@ -259,15 +261,16 @@ export default {
if (this.$router.mode === "hash") {
if ($A.stringLength(window.location.pathname) > 2) {
window.location.href = `${window.location.origin}/#${window.location.pathname}${window.location.search}`
return
}
} else if (this.$router.mode === "history") {
if ($A.strExists(window.location.href, "/#/")) {
window.location.href = window.location.href.replace("/#/", "/")
return
}
}
}
},
activated() {
this.getShowItem();
this.getNeedStartHome();
},
@ -293,9 +296,14 @@ export default {
this.goForward({name: 'login', query: {type: "reg"}});
},
windowOpen(url) {
window.open(url)
},
getShowItem() {
this.$store.dispatch("call", {
url: "system/get/showitem",
spinner: 1000
}).then(({data}) => {
this.showItem = data
}).catch(_ => {
@ -313,6 +321,8 @@ export default {
}
return;
}
//
this.$store.dispatch("showSpinner", 1000)
this.$store.dispatch("needHome").then(data => {
if (this.userId === 0 || this.$route.query.action === 'index') {
this.needStartHome = true;
@ -323,6 +333,8 @@ export default {
}).catch(_ => {
this.needStartHome = false;
this.goNext();
}).finally(_ => {
this.$store.dispatch("hiddenSpinner")
});
},

View File

@ -226,7 +226,7 @@ export default {
},
activated() {
this.loginType = 'login'
this.loginType = this.$route.query.type === 'reg' ? 'reg' : 'login'
//
this.getDemoAccount();
this.getNeedStartHome();

View File

@ -652,6 +652,7 @@
{"CN":"导出XLSX","EN":"Export XLSX","TC":"導出XLSX","KO":"Xlsx로 내보낸다","JA":"XLSXを導出します","FR":"Exportez votre XLSX"},
{"CN":"APP推送","EN":"APP push","TC":"APP推送","KO":"App 푸시","JA":"アプリでプッシュします","FR":"Push par APP"},
{"CN":"MAC地址","EN":"MAC address","TC":"MAC地址","KO":"Mac 주소","JA":"MACアドレスです","FR":"Une adresse MAC"},
{"CN":"扫一扫","EN":"Scan","TC":"掃一掃","KO":"쓸어버리다","JA":"掃きます","FR":"Balayage et balayage"},
{"CN":"上个月","EN":"Last month","TC":"上個月","KO":"지난 달","JA":"先月です","FR":"Mois dernier"},
{"CN":"下划线","EN":"Underline","TC":"下劃線","KO":"밑줄","JA":"アンダーライン","FR":"Souligner"},
{"CN":"不同意","EN":"Disagree","TC":"不同意","KO":"동의하지 않다","JA":"同意しません","FR":"Ne pas accepter"},