提交 17877041 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 9326cfdc
......@@ -14,6 +14,7 @@ module.exports = {
globals: {
'gdp': true,
'uni': true,
'wx':true
},
// add your custom rules here
//it is base on https://github.com/vuejs/eslint-config-vue
......
......@@ -36,10 +36,10 @@ document.documentElement.addEventListener(
}
);
// vueApp.$rocNative.appInit();
// vueApp.$rocNative.on('wx_ready', function () {
// console.log('-wx_ready-', window._picaWechat);
// });
vueApp.$rocNative.appInit();
vueApp.$rocNative.on('wx_ready', function () {
console.log('-wx_ready-', window._picaWechat);
});
console.log('---', isWeixin());
if(isWeixin()) {
window._picaWechat = 'wechat';
......
......@@ -304,16 +304,7 @@ export default {
methods: {
choose() {},
submit() {
console.log(1122334);
uni.postMessage({
data: {
action: 'message'
}
});
uni.navigateTo({
url: '/pagesInsurance/binding-code/index'
});
console.log(1122334);
wx.miniProgram.navigateTo({url: '/path/to/page'});
},
// 高德地图导航只有在线上环境才能使用
initMap() {
......@@ -388,7 +379,6 @@ export default {
this.dectionForm.goodsId = dectionData.goodsId;
this.$store.dispatch('home/setInsuranceInfo', dectionData);
}
});
},
// 获取订单信息
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册