Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
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
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
高淑倩
7-Eleven
Commits
a9d191d6
Commit
a9d191d6
authored
May 27, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改优化字段
parent
6eceacf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
pointDetail.js
src/pages/pointDetail/pointDetail.js
+4
-1
project.config.json
src/project.config.json
+2
-1
Http.js
src/utils/Http.js
+2
-2
No files found.
src/pages/pointDetail/pointDetail.js
View file @
a9d191d6
...
...
@@ -64,6 +64,8 @@ wxService.page({
this
.
setData
({
showTempalteModal
:
false
});
let
activityId
=
this
.
data
.
id
;
this
.
setLocalStorageByKey
(
activityId
);
},
//确认弹出订阅消息框
...
...
@@ -112,6 +114,8 @@ wxService.page({
});
})
});
this
.
setLocalStorageByKey
(
activityId
);
},
// 集点详情
...
...
@@ -414,7 +418,6 @@ wxService.page({
this
.
setData
({
showTempalteModal
:
true
});
this
.
setLocalStorageByKey
(
activityId
);
}
},
...
...
src/project.config.json
View file @
a9d191d6
...
...
@@ -22,7 +22,8 @@
"disablePlugins"
:
[],
"outputPath"
:
""
},
"useCompilerModule"
:
false
"useCompilerModule"
:
false
,
"userConfirmedUseCompilerModuleSwitch"
:
false
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.8.2"
,
...
...
src/utils/Http.js
View file @
a9d191d6
...
...
@@ -188,7 +188,7 @@ class Http {
content
:
'请求数据超时'
})
}
if
(
error
.
msg
&&
error
.
msg
!=
'
该用户尚未登录
'
){
if
(
error
.
msg
&&
error
.
msg
!=
'
登录已失效
'
){
setTimeout
(()
=>
{
wx
.
showToast
({
title
:
`
${
error
.
msg
}
`
,
...
...
@@ -197,7 +197,7 @@ class Http {
})
})
}
console
.
log
(
JSON
.
stringify
(
error
))
return
Promise
.
reject
(
error
)
}
...
...
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