Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ptfw-uniapp
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
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
侯忠英
ptfw-uniapp
Commits
982867ce
Commit
982867ce
authored
Jul 25, 2019
by
刘攀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
7a9d97f9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
4 deletions
+15
-4
index.vue
src/pages/store/goods/list/index.vue
+1
-0
index.vue
src/pages/user/balance/index/index.vue
+1
-1
fetch.js
src/utils/basic/fetch.js
+7
-3
logger.js
src/utils/basic/logger.js
+1
-0
util.js
src/utils/basic/util.js
+5
-0
No files found.
src/pages/store/goods/list/index.vue
View file @
982867ce
...
...
@@ -1787,6 +1787,7 @@
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
flex
:
1
;
}
.retail-wrapper
.list-style-block
.goods-price
{
...
...
src/pages/user/balance/index/index.vue
View file @
982867ce
...
...
@@ -649,7 +649,7 @@
position
:
relative
;
padding
:
20rpx
;
overflow
:
unset
;
line-height
:
unset
;
line-height
:
normal
;
box-sizing
:
border-box
;
}
...
...
src/utils/basic/fetch.js
View file @
982867ce
...
...
@@ -131,9 +131,13 @@ class Fetch {
complete
:
()
=>
{
const
endTime
=
new
Date
().
getTime
()
let
tmp
=
{}
tmp
[
url
]
=
endTime
-
startTime
logger
.
push
(
'INTERFACE_TIME'
,
tmp
)
// let tmp = {}
// tmp[url] = endTime - startTime
// logger.push('INTERFACE_TIME', tmp)
logger
.
push
(
'INTERFACE_TIME'
,
{
url
,
time
:
endTime
-
startTime
})
}
})
}
...
...
src/utils/basic/logger.js
View file @
982867ce
...
...
@@ -6,6 +6,7 @@ class Logger {
this
.
check
=
key
=>
{
if
(
this
.
log
[
key
].
length
>
10
)
{
util
.
logger
(
key
,
this
.
log
[
key
])
// util.logger(key, null, ...this.log[key])
this
.
log
[
key
]
=
[]
}
}
...
...
src/utils/basic/util.js
View file @
982867ce
...
...
@@ -515,6 +515,11 @@ class Util {
let
systemInfo
=
native
.
getSystemInfoSync
()
native
.
getNetworkType
().
then
(
res
=>
{
systemInfo
.
networkType
=
res
.
networkType
// platformModel.logger(Object.assign({
// type,
// data,
// systemInfo
// }, ...other))
platformModel
.
logger
({
type
,
data
,
...
...
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