二手车交易,缓存问题解决

This commit is contained in:
2025-03-15 17:49:25 +08:00
parent 678d4f6436
commit 22e6c58e65
7 changed files with 77 additions and 221 deletions

View File

@ -91,7 +91,6 @@ export default {
getDuration(){
const endTime = new Date();
const duration = (endTime - this.startTime) / 1000; // 计算时长(秒)
console.log('浏览时长:', duration, '秒');
this.saveRecord(duration);
},
async saveRecord(duration){