diff --git a/public/preload.js b/public/preload.js index 7c3f89a..e664ff3 100644 --- a/public/preload.js +++ b/public/preload.js @@ -56,7 +56,6 @@ class DB { } updateDataBaseLocal(dataBase) { // 更新文件数据 - console.log('updateDataBaseLocal') fs.writeFileSync(this.path, JSON.stringify(dataBase || this.dataBase), (err) => { if (err) { utools.showNotification('写入剪切板出错' + err) @@ -86,7 +85,6 @@ class DB { } updateItemViaId(id) { for (const item of this.dataBase.data) { - console.log(item.id, id) if (item.id === id) { item.updateTime = new Date().getTime() this.sortDataBaseViaTime() diff --git a/src/cpns/FileList.vue b/src/cpns/FileList.vue index db1c2f5..89e3475 100644 --- a/src/cpns/FileList.vue +++ b/src/cpns/FileList.vue @@ -2,8 +2,6 @@
icon - {{ file.name }}
@@ -30,6 +28,12 @@ export default {