Commit e53b6d96 by kyle

解决卡顿

parent 10b4a038
File deleted
......@@ -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) {
......
......@@ -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=>{
......
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment