修改文字
This commit is contained in:
@@ -152,12 +152,11 @@
|
||||
|
||||
// 能量跳转
|
||||
JumpUrl(open, title) {
|
||||
console.log(open)
|
||||
var type = open.openType;
|
||||
switch(type){
|
||||
case 'switchTab':
|
||||
uni.switchTab({
|
||||
url: open.url
|
||||
url: open.path
|
||||
})
|
||||
break;
|
||||
case 'web':
|
||||
@@ -167,7 +166,7 @@
|
||||
break;
|
||||
case 'navigateTo':
|
||||
uni.navigateTo({
|
||||
url: open.url
|
||||
url: open.path
|
||||
})
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -170,8 +170,6 @@
|
||||
Promise.all([crystals(), chain()]).then(res=>{
|
||||
let crystalsData = res[0],
|
||||
occData = res[1]
|
||||
|
||||
console.log(occData)
|
||||
if(!crystalsData.needLogin){
|
||||
this.account = {
|
||||
coin : crystalsData.coin,
|
||||
@@ -268,7 +266,29 @@
|
||||
chart.render();
|
||||
return chart;
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
// 能量跳转
|
||||
JumpUrl(open, title) {
|
||||
var type = open.openType;
|
||||
switch(type){
|
||||
case 'switchTab':
|
||||
uni.switchTab({
|
||||
url: open.path
|
||||
})
|
||||
break;
|
||||
case 'web':
|
||||
uni.navigateTo({
|
||||
url: open.url
|
||||
})
|
||||
break;
|
||||
case 'navigateTo':
|
||||
uni.navigateTo({
|
||||
url: open.path
|
||||
})
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user