|
@@ -30,11 +30,14 @@ export default {
|
|
|
computed: {
|
|
computed: {
|
|
|
...mapGetters(["getLoginInfo"])
|
|
...mapGetters(["getLoginInfo"])
|
|
|
},
|
|
},
|
|
|
|
|
+ onLoad(){
|
|
|
|
|
+ this.openPf()
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
init(){
|
|
init(){
|
|
|
- this.openRetail()
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
- openRetail(){
|
|
|
|
|
|
|
+ openPf(){
|
|
|
let type = uni.getSystemInfoSync().platform
|
|
let type = uni.getSystemInfoSync().platform
|
|
|
if(type == 'android'){
|
|
if(type == 'android'){
|
|
|
if (plus.runtime.isApplicationExist({pname: 'huahuibao.xhbsy'})) {
|
|
if (plus.runtime.isApplicationExist({pname: 'huahuibao.xhbsy'})) {
|