Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaolin committed Jun 5, 2024
1 parent 12c0e16 commit 6f6ebd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/repository/connectRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ let dbOperator = dbUtils("zkConnectInfo");

function ZkConnectInfo(obj){
Object.assign(this, obj)
this.createTime = new Date().getTime();
this.createTime = this.createTime || new Date().getTime();
}

function save(zkConnectInfo){
Expand Down

0 comments on commit 6f6ebd9

Please sign in to comment.