Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fb40ec57
authored
Jan 15, 2025
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化代码
1 parent
9a2ce81d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
utils/recordManager/TempRecord.js
utils/recordManager/TempRecord.js
View file @
fb40ec5
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2025-01-02 18:49:17
* @Date: 2025-01-02 18:49:17
* @LastEditors: limin
* @LastEditors: limin
* @LastEditTime: 2025-01-
06 19:37:32
* @LastEditTime: 2025-01-
15 22:01:56
* @FilePath: \gl_tape\utils\recordManager\TempRecord.js
* @FilePath: \gl_tape\utils\recordManager\TempRecord.js
*/
*/
import
utils
from
'../utils'
import
utils
from
'../utils'
...
@@ -53,6 +53,7 @@ class TempRecord {
...
@@ -53,6 +53,7 @@ class TempRecord {
}
}
async
save
(
record
=
this
.
record
)
{
async
save
(
record
=
this
.
record
)
{
try
{
try
{
if
(
!
record
)
throw
new
Error
(
'记录对象为空'
)
uni
.
$logger
.
local
.
info
(
'〖接待记录Record〗 == 开始持久化记录 =='
+
JSON
.
stringify
(
record
))
uni
.
$logger
.
local
.
info
(
'〖接待记录Record〗 == 开始持久化记录 =='
+
JSON
.
stringify
(
record
))
this
.
clearLoopTimer
()
this
.
clearLoopTimer
()
await
this
.
saveTempFile
(
record
)
await
this
.
saveTempFile
(
record
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment