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

add

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