没有影响,它只是告诉你某个方法的耗时
Violation警告对小程序有没有影响?它是因为什么发出的?[图片]
2019-12-20来个代码片段看看
scroll-view在iOS下的渲染bug[图片]一个页面用了三个scroll-view组件左右滑动,选中子元素时添加active样式,只有最后一个scroll-view在iOS下会出现图片中显示的卡顿
2019-12-20不明白你的意思
开发者工具提示重新授权?[图片]大神们怎么解决呢?在此谢谢了啊?
2019-12-20你好,不支持呢
小程序可不可以引用在线js?var common = require"https://xxx/xx/xxx?key=xxx"); 由于项目需求,js文件是需要key验证,所以是远程的文件,但是引入其中一直报错,想问一下是不支持是这种远程在线的js,还是我的方法不对
2019-12-201-7个工作日内审核完毕,超过这个时间官方才会受理
为什么一直在审核中?我方小程序于12月13号提交审核,为什么还在审核中,请问是什么情况?
2019-12-20image是支持webp格式的,只是iphone11不行还是所有iphone都不行
ios还是无法显示webp图片加了 webp"{{true}}" 还是无法显示webp格式图片
2019-12-20wx.getSystenInfo()获取信息,如果是电脑的话把窗口宽度设为你想要的
微信电脑版打开小程序的尺寸怎么设置成 手机竖屏的尺寸,不要宽屏的?微信电脑版打开小程序的尺寸怎么设置成 手机竖屏的尺寸,app.json中的"resizable"没有设置,或者app.json中的"resizable":"false"也还是宽屏的。
2019-12-20看看你的代码里哪里有写网络错误的,看看什么条件下触发就知道了
小程序提示网络错误?小程序一打开提示网络错误,手机有网,接口未报错,偶发提示网络错误
2019-12-20自己做一个toast
showToast怎么设置宽高和title字体大小?showToast怎么设置宽高和title字体大小?
2019-12-20不懂java,不好意思
生成小程序码,通过 HTTPS 调用方式,生成的码图片是 0KB 急急急,怎么处理?下面是贴出来的请求代码。 麻烦大佬给看看嗯? 我有 15 台集群,每台都这么调用的。 是不是我需要在is = conn.getInputStream(); 这个地方判断下图片是否生成??? String basePath = ""; HttpsURLConnection conn = null; OutputStream outputStream = null; InputStream is = null; OutputStream os = null; try { // 创建SSLContext对象,并使用我们指定的信任管理器初始化 TrustManager[] tm = {newMyX509TrustManager()}; SSLContext sslContext = SSLContextgetInstance("SSL", "SunJSSE"; sslContext.init(null, tm, new java.security.SecureRandom()); // 从上述SSLContext对象中得到SSLSocketFactory对象 SSLSocketFactory ssf = sslContext.getSocketFactory(); URL url = newURL(requestUrl; conn = (HttpsURLConnection) url.openConnection(); conn.setSSLSocketFactory(ssf; conn.setDoOutput(true; conn.setDoInput(true; conn.setUseCaches(false; conn.setReadTimeout(15000); conn.setConnectTimeout(15000); // 设置请求方式(GET/POST) conn.setRequestMethod(requestMethod; // 当outputStr不为null时向输出流写数据 outputStream = conn.getOutputStream(); // 注意编码格式 outputStream.write(outputStr.getBytes("UTF-8"); outputStream.close(); // 从输入流读取返回内容 String path2 = request.getSession().getServletContext().getRealPath("/"; String path = path2.replace("\\", "/") + "SmallProgram"; File file = newFile(path; if (!file.exists()) { file.mkdirs(); } Date now = newDate(); //修改日期格式 SimpleDateFormat dateFormat = newSimpleDateFormat("yyyyMMddHHmmssSSS"; String name = dateFormat.format(now); name = "/" + name + CommonUtilnumber + ".png"; String path1 = path + name; basePath = request.getScheme() + "://" + request.getServerName() + request.getContextPath() + "/SmallProgram" + name; CommonUtilsetNumber(number++; is = conn.getInputStream(); os = newFileOutputStream(path1; //缓冲数组 byte[] bs = new byte1024; String resultInfo = null; int len; while ((len = isread(bs)) != -) { os.write(bs, , len); os.flush(); resultInfo = newString(bs, "UTF-8"; } booleanbool = false; if (resultInfo == null || resultInfo.contains("errcode")) { bool = true; } if (bool) { logger.error("获取小程序码异常,异常信息:" + resultInfo); returnnull; } os.flush(); os.close(); isclose(); conn.disconnect(); } catch (ConnectException ce) { Systemout.println("连接超时:{}"); basePath = ""; } catch (Exception e) { Systemout.println("https请求异常:{}"); basePath = ""; } finally { try { if (outputStream != null) { outputStream.close(); } if (is != null) { isclose(); } if (os != null) { os.close(); } if (conn != null) { conn.disconnect(); } } catch (IOException e) { Systemout.println("https请求异常:{}"); } } return basePath;
2019-12-20