Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
e53b6d96
Commit
e53b6d96
authored
Jan 09, 2023
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决卡顿
parent
10b4a038
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
31 deletions
+10
-31
app.apk
+0
-0
pages/inviteJoin/inviteJoin.vue
+2
-5
pages/myLearning/myLearning.vue
+8
-5
util/router.js
+0
-21
No files found.
app.apk
deleted
100644 → 0
View file @
10b4a038
File deleted
pages/inviteJoin/inviteJoin.vue
View file @
e53b6d96
...
...
@@ -208,7 +208,6 @@
api
.
queryOrgList
(
CffpAreaQueryReqVO
).
then
(
res
=>
{
if
(
res
[
'success'
])
{
this
.
queryorgList
=
res
.
data
.
cffpAreaQuerys
console
.
log
(
this
.
queryorgList
,
121255
)
this
.
orgList
=
res
.
data
.
cffpAreaQuerys
this
.
changeorgkey
()
...
...
@@ -231,8 +230,6 @@
let
that
=
this
let
orgKey
=
that
.
applyIdentity
==
0
?
'B1'
:
'A1'
// that.orgdataList = []
console
.
log
(
that
.
orgList
,
1115
)
that
.
queryList
=
that
.
orgList
.
map
((
item
)
=>
{
if
(
item
.
partnerLevel
==
orgKey
||
item
.
partnerLevel
==
'ALL'
)
{
return
item
...
...
@@ -295,10 +292,10 @@
summary
:
`我是家庭财务策划师
${
this
.
realName
}
正在使用CFFP财富中心,点击下载即刻加入!`
,
imageUrl
:
"https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg"
,
success
:
function
(
res
)
{
console
.
log
(
"success:"
+
JSON
.
stringify
(
res
));
//
console.log("success:" + JSON.stringify(res));
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
+
JSON
.
stringify
(
err
));
//
console.log("fail:" + JSON.stringify(err));
}
});
// else if (type === 2) {
...
...
pages/myLearning/myLearning.vue
View file @
e53b6d96
...
...
@@ -58,14 +58,17 @@
},
methods
:
{
goBack
(){
let
back
=
getCurrentPages
();
if
(
back
&&
back
.
length
>
1
)
{
uni
.
navigateBack
({
delta
:
1
});
}
else
{
history
.
back
();
}
// let back = getCurrentPages();
// if(back && back.length>1) {
// uni.navigateBack({
// delta: 1
// });
// }else{
// history.back();
// }
},
userStudyList
(){
api
.
userStudyList
({
userId
:
this
.
userId
}).
then
(
res
=>
{
...
...
util/router.js
View file @
e53b6d96
...
...
@@ -11,8 +11,6 @@ export default function initApp(){
uni
.
addInterceptor
(
'navigateTo'
,
{
// 页面跳转前进行拦截, invoke根据返回值进行判断是否继续执行跳转
invoke
(
e
)
{
let
app
=
getCurrentPages
()
console
.
log
(
'页面站==='
,
app
)
if
(
!
hasPermission
(
e
.
url
)){
uni
.
reLaunch
({
url
:
'/components/login/login'
...
...
@@ -28,25 +26,6 @@ export default function initApp(){
uni
.
addInterceptor
(
'switchTab'
,
{
// tabbar页面跳转前进行拦截
invoke
(
e
)
{
let
app
=
getCurrentPages
()
console
.
log
(
'页面站==='
,
app
)
if
(
!
hasPermission
(
e
.
url
)){
uni
.
reLaunch
({
url
:
'/components/login/login'
})
return
false
}
return
true
},
success
(
e
)
{
}
})
uni
.
addInterceptor
(
'reLaunch'
,
{
// tabbar页面跳转前进行拦截
invoke
(
e
)
{
let
app
=
getCurrentPages
()
console
.
log
(
'页面站==='
,
app
)
if
(
!
hasPermission
(
e
.
url
)){
uni
.
reLaunch
({
url
:
'/components/login/login'
...
...
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