Browse Source

1.6.24 修复诉求须知富文本显示BUG;

release
ZhaoTongYao 5 years ago
parent
commit
3c352c275a
  1. 6
      app.json
  2. 13
      pages/index/index.js

6
app.json

@ -103,5 +103,11 @@
"desc": "微笑榆山将获取您的位置信息" "desc": "微笑榆山将获取您的位置信息"
} }
}, },
"plugins": {
"work-plugin": {
"version": "1.0.2",
"provider": "wx0301bf7f534d97d1"
}
},
"sitemapLocation": "sitemap.json" "sitemapLocation": "sitemap.json"
} }

13
pages/index/index.js

@ -451,6 +451,17 @@ Page({
url: '../../pages/login/login' url: '../../pages/login/login'
}) })
}) })
},
toPlugin () {
let token = wx.getStorageSync('token')
api.getCustomId().then(res => {
if (res.code == 0 && res.msg == 'success') {
wx.navigateTo({
url: `plugin://work-plugin/main?token=${token}&customerId=${res.data}`,
});
}
}).catch(err => {
console.log(err)
})
} }
}) })
Loading…
Cancel
Save