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 d44b5ea9
authored
Oct 13, 2026
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉初始化时的路径合并检查
1 parent
622eb262
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
pages/common/loading.vue
utils/storageMerge/StoragePathMerge.js
pages/common/loading.vue
View file @
d44b5ea
...
...
@@ -2,7 +2,6 @@
</
template
>
<
script
type=
'text/ecmascript-6'
>
import
StoragePathMerge
from
'@/utils/storageMerge/index.js'
export
default
{
name
:
''
,
data
()
{
...
...
@@ -10,8 +9,6 @@ export default {
}
},
mounted
()
{
// 路径归并:启动后异步、不阻塞本页与后续跳转,失败仅告警(逻辑见 StoragePathMerge.runDeferred)。
StoragePathMerge
.
runDeferred
()
uni
.
showLoading
({
mask
:
true
})
...
...
utils/storageMerge/StoragePathMerge.js
View file @
d44b5ea
...
...
@@ -237,17 +237,6 @@ class StoragePathMerge {
}
}
/**
* 后台异步执行路径归并,不阻塞、不向上抛错,不影响调用方主流程。
* 仅作为包根切换(/data/user/0 ↔ /storage/emulated/0)后旧录音的兜底,
* 对当前包根下的录音无副作用。即便卡住或失败,调用方应用也已启动。
*/
static
runDeferred
()
{
StoragePathMerge
.
run
().
catch
(
e
=>
uni
.
$logger
.
local
.
warn
(
'路径合并失败(不阻断启动): '
+
(
e
?.
message
||
e
))
)
}
static
async
executeRun
({
force
=
false
}
=
{})
{
logStep
(
STAGE
.
RUN
,
'======== 路径合并开始 ========'
,
{
force
})
const
plusRef
=
await
waitForPlus
()
...
...
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