Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
e2ae6734
Commit
e2ae6734
authored
Nov 21, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v_req_11.2' into uat
parents
a57447a9
56c2291e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/pages/gameOrder/gameOrder.vue
src/pages/gameOrder/gameOrder.vue
+6
-6
No files found.
src/pages/gameOrder/gameOrder.vue
View file @
e2ae6734
...
...
@@ -175,17 +175,15 @@ export default {
// 小程序游戏统计接口
async
GameStatistics
()
{
$
.
ajax
({
url
:
gHost
+
"
/wechat/svweapp/GameStatistics
"
,
url
:
gHost
+
"
/wechat/svweapp/GameStatistics
"
,
type
:
"
post
"
,
dataType
:
"
json
"
,
contentType
:
"
application/x-www-form-urlencoded
"
,
data
:
this
.
params
,
success
:
function
(
res
)
{
if
(
res
.
code
==
10000
)
{
console
.
log
(
res
)
return
console
.
log
(
res
);
return
;
}
uni
.
showToast
({
icon
:
"
none
"
,
...
...
@@ -231,10 +229,12 @@ export default {
// 这里可以添加游戏启动逻辑,比如跳转到游戏页面,或打开游戏等
},
},
onUnload
()
{
beforeDestroy
()
{
this
.
params
.
behavior
=
"
viewPage
"
;
this
.
params
.
data
=
"
closePage
"
;
this
.
GameStatistics
();
},
destroyed
()
{
if
(
this
.
timer
!==
null
)
{
clearInterval
(
this
.
timer
);
this
.
timer
=
null
;
...
...
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