location ~* ^/agent {
rewrite ^(/agent)(.*)$ $2 break;
proxy_pass http://ip:端口;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
在usePullDownRefresh中加
Taro.stopPullDownRefresh()关闭下拉动画,白色部分其实是下拉动画,这一点比较坑啊
小程序获取code:
wx.login().then(res=>console.log(res))
parser: 'babel-eslint',
@typescript-eslint
babel-eslint
改为改为 @typescript-eslint/parser
Taro.hideKeyboard()
主动关闭
curl -X POST 'http://0.0.0.0:7001/graphql' -d 'query={__schema{types{name,fields{name}}}}'
服务器:
curl -XPOST 'http://127.0.0.1/graphql' -H "host:shareact.market.cloud.tencent.cn" -d 'query={__schema{types{name,fields{name}}}}'
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有