Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 19b0ffbe
authored
Sep 04, 2025
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 延迟隐藏加载状态以避免闪烁
在取消操作和输入快递单号后,立即隐藏加载状态可能导致界面闪烁。通过添加500毫秒延迟来改善用户体验。
1 parent
46c673b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
packageMine/pages/order/afterSaleDetail/afterSaleDetail.js
packageMine/pages/order/afterSaleDetail/components/ReturnAddressBox/ReturnAddressBox.js
packageMine/pages/order/afterSaleDetail/afterSaleDetail.js
View file @
19b0ffb
...
@@ -135,7 +135,9 @@ Page({
...
@@ -135,7 +135,9 @@ Page({
wx
.
p
.
wxApi
.
showToast
(
"已取消"
);
wx
.
p
.
wxApi
.
showToast
(
"已取消"
);
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
wx
.
hideLoading
();
setTimeout
(()
=>
{
wx
.
hideLoading
();
},
500
);
});
});
},
},
previewImage
(
e
)
{
previewImage
(
e
)
{
...
...
packageMine/pages/order/afterSaleDetail/components/ReturnAddressBox/ReturnAddressBox.js
View file @
19b0ffb
...
@@ -64,7 +64,9 @@ Component({
...
@@ -64,7 +64,9 @@ Component({
}
}
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
wx
.
p
.
wxApi
.
hideLoading
();
setTimeout
(()
=>
{
wx
.
p
.
wxApi
.
hideLoading
();
},
500
);
});
});
},
},
onExpressNoInput
(
e
)
{
onExpressNoInput
(
e
)
{
...
...
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