微信开发者工具
照搬照抄云开发文档里的示例,运行后始终失败,一直都是返回如下错误代码 [error] 函数执行失败(耗时 178ms) TypeErruploadFile:fail or: uploadFile:fail Cannot read property 'url' of undefined ??急人,请老师指点 // 云函数入口文件 const cloud = require('wx-server-sdk') const { createReport } = require('docx-templates') const fs = require('fs') const path = require('path') // const dayjs = require('dayjs') cloud.init({ env: 'cloud.DYNAMIC_CURRENT_ENV' }) // 云函数入口函数 exports.main = async (event, context) => { const fileStream = fs.createReadStream(path.join(__dirname, 'verify_company.docx')) return await cloud.uploadFile({ cloudPath: 'verify_company.docx', fileContent: fileStream, }) }
uni-app 使用 vite 进行编译, 在小程序平台实现了编译性能提升将近50%, 请问微信开发者工具什么时候能使用 vite 或 类似 esbuild 构建工具进行编译?
[图片] 问题出现后,左侧模拟器无法正常工作,需要点击两次编译或者重启开发工具
const ci = require("miniprogram-ci"); (async () => { const project = new ci.Project({ appid: "wx5daa3a12*****", type: "miniProgram", projectPath: "/path/weapp", privateKeyPath: "./private.wx5daa3a12*****.key", ignores: ["node_modules/**/*"], }); await ci.getDevSourceMap({ project, robot: 1, sourceMapSavePath: "./sm.zip", }); })(); 调用getDevSourceMap 报错 TypeError: Cannot read properties of undefined (reading 'sourcemap_list') at /path/node_modules/miniprogram-ci/dist/ci/getDevSourceMap.js:2:1396
使用taro3.0,点击路由跳转以后,无法访问对应的页面,显示如下: [图片] 路由跳转API:Taro.redirectTo()
[图片] 如图所示,我本地有两个同样的项目,经常用来做对比,通常用路径来区分项目,但是启动的时候路径仅仅展示前半部分,后面差异的地方反而没展示,是否能把路径中间部分展示成 ... ,或者前面部分展示成 ... ?
[图片]
[图片]
[图片] [图片]
[图片] 上面是以前的项目打开就没有模拟器,也没有工具栏[图片] 这个是新建的就有模拟器,也有工具栏,有人知道这是为啥吗
微信公众号服务器配置中,服务器地址已经捆绑了A网站,如果我其他的网站也用这个微信公众号,应该如何设置服务器地址! [图片]
pages/index/index 中 onload函数 wx.reLaunch({ url: '/miniprogram_npm/zk-mini-base/business/pages/identitySelection/index?type=index', }); pages/index/index 在app.json中有声明 /miniprogram_npm/zk-mini-base/business/pages/identitySelection/index 在app.json中无声明 开发者工具版本 1.05.2111300 可以跳转 最新版 不能跳转。 我们现在将开发者工具升级到新版后 无法跳转,请求官方查看下。目前只能退回到老版本使用。
在小程序开发者工具里面样式显示正常,但是上传之后,在真机上显示异常。 我比对了二者样式,发现二者样式不一样,如下: [图片]
调用onpagescroll 报 TypeError: Cannot read property 'apply' of undefined
[图片] rt最新版的没有版本管理工具
https://developers.weixin.qq.com/miniprogram/dev/devtools/sandbox.html 开发工具登录之后,点击导入文件夹之后操作不了,没有上传页面
[图片]重启应用,重启电脑都没用
在小程序组件使用了setTimeout,并且生命周期销毁都设置了清除,但是使用工具体验评分并未生效,依旧提示setTimeout未回收,有没有解决的???组件应该放在哪里回收?[图片] lifetimes: { detached() { clearTimeout(this.data.setTimer) } }, pageLifetimes: { hide() { clearTimeout(this.data.setTimer) }, detached() { clearTimeout(this.data.setTimer) }, },
您好,我已经配置了 debug.digitalinternet.xyz 了,为啥 工具里面还是不能使用啊? [图片] [图片]
"entryPagePath": "pages/logs/logs", "pages": [ "pages/index/index", "pages/logs/logs", "pages/test/test" ], 在模拟器中按照entryPagePath优先启动 "pages/logs/logs",可以返回主页。在真机调试和预览中优先启动的是 "pages/index/index", 同样也有返回主页的图标,主页却是 "pages/logs/logs"。 我没有自定义任何模式。 请问要怎么解决?
小程序助手
帮助小程序相关成员在手机端更方便、及时地管理小程序
小程序助手
扫码体验