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 dc94f472
authored
Mar 30, 2026
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.6.4' into 'SAAS+V5.7.0'
上线合并 See merge request
!76
2 parents
b73cb4d2
6af40b00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
manifest.json
utils/recordManager/PathUtils.js
utils/recordManager/RecordService.js
manifest.json
View file @
dc94f47
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
"name"
:
"展业助手"
,
"name"
:
"展业助手"
,
"appid"
:
"__UNI__D3BD3DF"
,
"appid"
:
"__UNI__D3BD3DF"
,
"description"
:
""
,
"description"
:
""
,
"versionName"
:
"2.22.
2
"
,
"versionName"
:
"2.22.
3
"
,
"versionCode"
:
222
2
,
"versionCode"
:
222
3
,
"transformPx"
:
false
,
"transformPx"
:
false
,
"sassImplementationName"
:
"node-sass"
,
"sassImplementationName"
:
"node-sass"
,
/*
5
+App特有相关
*/
/*
5
+App特有相关
*/
...
...
utils/recordManager/PathUtils.js
View file @
dc94f47
...
@@ -63,13 +63,13 @@ class PathUtils {
...
@@ -63,13 +63,13 @@ class PathUtils {
}
}
// 2. 尝试读取持久化缓存
// 2. 尝试读取持久化缓存
const
storageCache
=
uni
.
getStorageSync
(
this
.
ROOT_PATH_CACHE_KEY
);
//
const storageCache = uni.getStorageSync(this.ROOT_PATH_CACHE_KEY);
if
(
storageCache
)
{
//
if (storageCache) {
uni
.
$logger
?.
local
?.
info
(
`[PathUtils] 命中本地缓存,根路径:
${
storageCache
}
`
);
//
uni.$logger?.local?.info(`[PathUtils] 命中本地缓存,根路径: ${storageCache}`);
// 同步到内存缓存
//
// 同步到内存缓存
this
.
CACHED_ROOT_PATH
=
storageCache
;
//
this.CACHED_ROOT_PATH = storageCache;
return
Promise
.
resolve
(
this
.
CACHED_ROOT_PATH
);
//
return Promise.resolve(this.CACHED_ROOT_PATH);
}
//
}
// 3. 无缓存,请求原生文件系统API
// 3. 无缓存,请求原生文件系统API
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
...
...
utils/recordManager/RecordService.js
View file @
dc94f47
...
@@ -206,13 +206,13 @@ class RecordService {
...
@@ -206,13 +206,13 @@ class RecordService {
handler
(
params
,
fn
,
delay
=
0
)
{
handler
(
params
,
fn
,
delay
=
0
)
{
if
(
this
.
isReceptioning
())
{
if
(
this
.
isReceptioning
())
{
if
(
delay
>
0
)
{
//
if (delay > 0) {
// 使用函数名作为防抖的 key
//
// 使用函数名作为防抖的 key
// 注意:这里 fn.name 在压缩混淆后可能会变,但在 Service 内部引用是固定的
//
// 注意:这里 fn.name 在压缩混淆后可能会变,但在 Service 内部引用是固定的
this
.
debounce
(
fn
.
name
,
()
=>
fn
.
call
(
this
,
params
),
delay
)
//
this.debounce(fn.name, () => fn.call(this, params), delay)
}
else
{
//
} else {
fn
.
call
(
this
,
params
)
fn
.
call
(
this
,
params
)
}
//
}
}
}
}
}
...
...
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