Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
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 7628dfd7
authored
Oct 24, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
7f3d397e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
pages/tab/index/index.js
utils/request/environment.js
pages/tab/index/index.js
View file @
7628dfd
...
@@ -52,9 +52,9 @@ Page({
...
@@ -52,9 +52,9 @@ Page({
this
.
getData
()
this
.
getData
()
},
},
getData
(
onPullDown
)
{
getData
()
{
this
.
getActivityList
(
1
,
onPullDown
)
this
.
getActivityList
(
1
)
this
.
getActivityList
(
2
,
onPullDown
)
this
.
getActivityList
(
2
)
},
},
// 计算文本宽度
// 计算文本宽度
...
@@ -178,13 +178,6 @@ Page({
...
@@ -178,13 +178,6 @@ Page({
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{
this
.
setData
({
activePageNum
:
1
,
pageNum
:
1
})
this
.
getData
(
true
)
},
// 下拉刷新
// 下拉刷新
activityRefresh
(
e
)
{
activityRefresh
(
e
)
{
...
@@ -193,7 +186,7 @@ Page({
...
@@ -193,7 +186,7 @@ Page({
activePageNum
:
1
,
activePageNum
:
1
,
pageNum
:
1
pageNum
:
1
})
})
this
.
getActivityList
(
type
)
this
.
getActivityList
(
type
,
true
)
},
},
// 上拉触底加载
// 上拉触底加载
...
...
utils/request/environment.js
View file @
7628dfd
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
2测试
3生产
3生产
*/
*/
const
index
=
1
const
index
=
2
const
secretKey
=
{
const
secretKey
=
{
ip
:
{},
ip
:
{},
dev
:
{
dev
:
{
...
...
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