Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TianGongKaiWu-20251203
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
TianGongKaiWu-20251203
Commits
9305edbb
Commit
9305edbb
authored
Dec 16, 2025
by
天马流星拳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(share): 移除渠道判断直接使用华夏银行分享逻辑
移除对渠道的判断条件,直接使用华夏银行的分享方法,简化代码结构
parent
9916e382
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
9 deletions
+16
-9
share.js
src/store/share.js
+16
-9
No files found.
src/store/share.js
View file @
9305edbb
...
...
@@ -41,17 +41,24 @@ const shareStore = makeAutoObservable({
/** 分享 TODO 看看有没有普通分享这个场景 */
async
doShare
(
isInvite
=
false
)
{
console
.
log
(
"🚀 ~ CFG:"
,
CFG
,
CFG
.
channel
,
CHANNEL
.
HXBANK
)
const
{
shareInfo
}
=
store
.
frontVariable
;
if
(
CFG
.
channel
==
CHANNEL
.
HXBANK
)
{
// 华夏银行APP分享
const
_url
=
await
this
.
getShareLink
(
isInvite
);
// 分享方法
hxbankShare
({
...
shareInfo
,
url
:
_url
})
}
else
{
// if (CFG.channel == CHANNEL.HXBANK) { // 华夏银行APP分享
// const _url = await this.getShareLink(isInvite);
// // 分享方法
// hxbankShare({
// ...shareInfo,
// url: _url
// })
// } else {
}
//
}
},
/** 助力 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment