Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2019-04-09 17:51:44 +0800
Commit
5db79b0d857f739c4f134688c6473d7108079175
2 parents
b929419a
8d56c00c
Merge branch 'feature/invite' of
http://git.yoho.cn/fe/ufo-app-web
into feature/invite
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
apps/app.vue
apps/common/report-app.js
apps/app.vue
View file @
5db79b0
...
...
@@ -2,13 +2,7 @@
<div id="app">
<transition
:name="`route-view-${yoho.direction}`">
<keep-alive>
<router-view v-if="$route.meta.keepAlive"></router-view>
</keep-alive>
</transition>
<transition
:name="`route-view-${yoho.direction}`">
<router-view v-if="!$route.meta.keepAlive"></router-view>
<router-view></router-view>
</transition>
</div>
</template>
...
...
apps/common/report-app.js
View file @
5db79b0
import
axios
from
'axios'
;
import
md5
from
'md5'
;
export
default
class
reportApp
{
constructor
(
params
=
{})
{
this
.
isProd
=
!
params
.
unProd
;
...
...
@@ -63,7 +64,7 @@ export default class reportApp {
device
:
this
.
device
,
events
:
[
Object
.
assign
({
uid
:
md5
(
uid
),
uid
:
md5
(
`
$
{
uid
}
`
),
ts
:
new
Date
().
getTime
()
+
'000000'
,
pt
:
pt
,
pn
:
pn
,
...
...
Please
register
or
login
to post a comment