Commit 305d73e3 authored by sjf1256754123's avatar sjf1256754123

d

parent 10e0ba33
...@@ -59,6 +59,11 @@ ...@@ -59,6 +59,11 @@
}; };
}, },
onLoad: function(option) { onLoad: function(option) {
wx.showShareMenu({
withShareTicket: true
})
},
onShow() {
let that = this let that = this
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
wx.login({ wx.login({
...@@ -73,11 +78,6 @@ ...@@ -73,11 +78,6 @@
}) })
// #endif // #endif
}, },
onShow() {
if(this.$store.state.user.userInfo.idCard){
this.getUserInfo(code)
}
},
methods: { methods: {
leader(){ leader(){
uni.navigateTo({ uni.navigateTo({
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
import store from '../store' import store from '../store'
export default class Request { export default class Request {
config = { config = {
// baseUrl: 'https://health.sh-sict.com/ncov-api', baseUrl: 'https://health.sh-sict.com/ncov-api',
baseUrl: 'https://health.sh-sict.com/ncov-test-api', // baseUrl: 'https://health.sh-sict.com/ncov-test-api',
// baseUrl: 'http://139.9.163.126/ncov-api', // baseUrl: 'http://139.9.163.126/ncov-api',
header: { header: {
'content-type': 'application/json;charset=UTF-8', 'content-type': 'application/json;charset=UTF-8',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment