|
@@ -74,9 +74,17 @@ export default {
|
|
|
components: {
|
|
|
layoutHeader
|
|
|
},
|
|
|
+ mounted(){
|
|
|
+ let script = document.createElement('script');
|
|
|
+ script.type = "text/javascript";
|
|
|
+ script.src = "https://res.wx.qq.com/open/js/jweixin-1.3.2.js";
|
|
|
+ document.body.appendChild(script);
|
|
|
+ },
|
|
|
methods: {
|
|
|
toBusiness() {
|
|
|
- this.$router.push("/phoneBusiness");
|
|
|
+ // this.$router.push("/phoneBusiness");
|
|
|
+ wx.miniProgram.navigateBack();
|
|
|
+ wx.miniProgram.postMessage({data:{from: '跳其他小程序'}})
|
|
|
}
|
|
|
}
|
|
|
};
|