Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
ZheShangBank_TaoQuan_20240612
Commits
816c432b
Commit
816c432b
authored
Jun 25, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
e5dd6a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
TaskCenter.ts
assets/Scripts/TaskCenter.ts
+5
-4
No files found.
assets/Scripts/TaskCenter.ts
View file @
816c432b
...
...
@@ -79,8 +79,8 @@ export default class TaskCenter {
WebNetName
.
finishBrowseTask
,
{
taskCode
:
code
,
taskId
:
id
}
);
location
.
href
=
jumpUrl
;
//
appJump(jumpUrl);
//
location.href = jumpUrl;
jumpUrl
&&
appJump
(
jumpUrl
);
});
}
}
...
...
@@ -99,7 +99,8 @@ export default class TaskCenter {
// } else if (type == "s") { // 行方签约任务
// appJump(ju mpUrl)
// }
location
.
href
=
jumpUrl
;
// location.href = jumpUrl;
jumpUrl
&&
appJump
(
jumpUrl
);
})
}
/** 会员等级达标任务 */
...
...
@@ -107,7 +108,7 @@ export default class TaskCenter {
// 能给链接跳转 就配置正常配置jumpUrl
// 不能跳转 jumpUrl配置$$$ 需要toast提示就配置buttonText
beforeDoComplete
(
item
,
()
=>
{
appJump
(
jumpUrl
)
jumpUrl
&&
appJump
(
jumpUrl
);
});
}
}
...
...
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