let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
let curRoute = routes[routes.length - 1].route //获取当前页面路由
let curParam = routes[routes.len...
yekong
4年前 (2021-08-23)
喜欢
js
import AMapLoader from '@amap/amap-jsapi-loader';
created() {
var that = this;
AMapLoader.load({
...
yekong
4年前 (2021-08-20)
喜欢
微信小程序开启调试模式
uni.setEnableDebug({
enableDebug: true
})
微信小程序关闭调试模式
uni.setEnableDebug({
enableDebug: false
})
...
yekong
4年前 (2021-07-28)
喜欢
去掉header信息就好了
header: {
token: '',
//'Content-Type': 'multipart/form-data'
...
yekong
4年前 (2021-07-28)
喜欢
npm安装:
npm install --save js-md5
使用方法1
import md5 from 'js-md5';
md5('holle') // bcecb35d0a12baad472fbe0392bcc043
使用方法2
...
yekong
4年前 (2021-07-17)
喜欢
Changes needed.
xxx
iOS
Thank you for submitting xxx for review. During our review, we noticed a few things that you'll need to address ...
yekong
4年前 (2021-07-16)
喜欢
iOS14.5 发布之后,苹果要求应用获取 IDFA 时,需弹出用户许可收集跟踪数据的授权框,如果没有弹出授权框则可能会被App Store审核拒绝,提示违反5.1.2规则:
解决办法:取消勾选该服务
配置开启广告标识(IDFA)
在 manifest.json 文件...
yekong
4年前 (2021-07-15)
喜欢
/* 隐藏滚动条 */
scroll-view ::-webkit-scrollbar {
width: 0;
height: 0;
background-color: transparent;
}
app端隐藏滚动条
"style&...
yekong
4年前 (2021-06-19)
喜欢
uniapp在开发小程序的时候,在开发工具里是可以正常访问接口的,但是在手机上就无法访问接口了
排查项目配置域名信息,已经配置好了没有问题。
在网上查找类似的情况发现
是域名证书的问题,更新域名证书后搞定
...
yekong
4年前 (2021-06-17)
喜欢
.bgf /deep/.u-index-anchor--active {
top: var(--status-bar-height);
}
...
yekong
4年前 (2021-03-26)
喜欢