@@ -86,13 +86,6 @@ export default {
}
- },
- onShow(){
- if (isLogin()&&!this.$util.isEmpty(this.getLoginInfo)) {
- if (this.init) {
- this.init()
- }
},
methods: {
@@ -29,9 +29,12 @@ export default {
computed: {
...mapGetters(["getLoginInfo"])
+ onLoad(){
+ this.openRetail()
+ },
init(){
- this.openRetail()
+
openRetail(){
let type = uni.getSystemInfoSync().platform
@@ -30,11 +30,14 @@ export default {
+ this.openPf()
- openRetail(){
+ openPf(){
if(type == 'android'){
if (plus.runtime.isApplicationExist({pname: 'huahuibao.xhbsy'})) {