mirror of
https://github.com/OBKoro1/autoCommit.git
synced 2024-11-22 18:39:26 +08:00
修复提交时的异步问题
This commit is contained in:
parent
fa47e25a6e
commit
3d7fbd196c
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# 用于学习交流
|
# 用于学习交流
|
||||||
|
|
||||||
|
<!-- TODO: 18年 -->
|
||||||
|
|
||||||
<!-- TODO: 前面先选中的日期会覆盖后面的日期 -->
|
<!-- TODO: 前面先选中的日期会覆盖后面的日期 -->
|
||||||
|
|
||||||
@ -10,3 +11,7 @@
|
|||||||
<!-- TODO: 可以挂在后台慢慢commit -->
|
<!-- TODO: 可以挂在后台慢慢commit -->
|
||||||
|
|
||||||
<!-- TODO: icon -->
|
<!-- TODO: icon -->
|
||||||
|
|
||||||
|
<!-- 分支未创建 未上传问题 -->
|
||||||
|
|
||||||
|
<!-- 注意保持git干净,不要有未合并merge、rebase等情况 -->
|
BIN
images/icon.png
Normal file
BIN
images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -20,6 +20,7 @@
|
|||||||
"email": "obkoro1@foxmail.com",
|
"email": "obkoro1@foxmail.com",
|
||||||
"url": "http://obkoro1.com/web_accumulate/"
|
"url": "http://obkoro1.com/web_accumulate/"
|
||||||
},
|
},
|
||||||
|
"icon": "images/icon.png",
|
||||||
"galleryBanner": {
|
"galleryBanner": {
|
||||||
"color": "#3B4859",
|
"color": "#3B4859",
|
||||||
"theme": "dark"
|
"theme": "dark"
|
||||||
@ -63,6 +64,9 @@
|
|||||||
"github commit",
|
"github commit",
|
||||||
"github autoCommit",
|
"github autoCommit",
|
||||||
"git commit",
|
"git commit",
|
||||||
|
"自动提交",
|
||||||
|
"git 自动提交",
|
||||||
|
"github 自动提交",
|
||||||
"git",
|
"git",
|
||||||
"github",
|
"github",
|
||||||
"commit",
|
"commit",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Author : OBKoro1
|
* Author : OBKoro1
|
||||||
* Date : 2019-12-30 16:59:30
|
* Date : 2019-12-30 16:59:30
|
||||||
* LastEditors : OBKoro1
|
* LastEditors : OBKoro1
|
||||||
* LastEditTime : 2020-01-02 14:18:36
|
* LastEditTime : 2020-01-02 16:22:22
|
||||||
* FilePath : /autoCommit/src/models/commitHandle.ts
|
* FilePath : /autoCommit/src/models/commitHandle.ts
|
||||||
* Description : commit 具体操作
|
* Description : commit 具体操作
|
||||||
* https://github.com/OBKoro1
|
* https://github.com/OBKoro1
|
||||||
@ -49,13 +49,14 @@ class CommitHandle {
|
|||||||
let index = this.timeArr.findIndex(element => {
|
let index = this.timeArr.findIndex(element => {
|
||||||
return element.value === ele;
|
return element.value === ele;
|
||||||
});
|
});
|
||||||
// 添加不存在的日期
|
// 删除重复日期
|
||||||
if (index === -1) {
|
if (index !== -1) {
|
||||||
|
this.timeArr.splice(index, 1);
|
||||||
|
}
|
||||||
this.timeArr.push({
|
this.timeArr.push({
|
||||||
value: ele,
|
value: ele,
|
||||||
commitNumber: item.commitNumber
|
commitNumber: item.commitNumber
|
||||||
});
|
});
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.sortTime();
|
this.sortTime();
|
||||||
|
Loading…
Reference in New Issue
Block a user