[图片] 先回退一下
最新版微信开发工具编译失败BUG[图片]
2022-05-20[图片] 先回退一下
最新版开发者工具编译报错BUG?[图片] 这是什么鬼,本来在写代码,刚刚更新了以后就报错了,也编译不了了。
2022-05-20[图片] 先回退一下
安装最新的1.06.220520*版本后报错?[ WXML 文件编译错误] ENOENT: no such file or directory, stat 'C:\Program Files (x86)\Tencent\Resources\package.nw\node_modules\wcc-exec'(env: Windows,mp,1.06.2205202; lib: 2.11.3)
2022-05-20[图片] 先回退一下
2022年5月20号更新编辑器,项目无法编译?[图片] 本来好好的,弹框提示更换就这样了,所有项目都是的
2022-05-20请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
开发者工具基础库:2.24.0各种报错?[图片] 一旦基础库调成2.24.0及以上,就会报这些错,开发工具上页面就不可查看 麻烦官网能给个回复不
2022-05-20盲猜是循环引用的问题?
小程序使用require引入方法顺序也会导致方法引入不成功么?标题可能表述不是很明白,我详细说下: 在页面index.js中引入util文件: //index.js //列出主要代码 请注意这两行的调用顺序 const {judgeVideoCanPlay} =require('../../utils/util') const {bookCategoryList,bookList,userAgeUpdate,setUserInfo}=require('../../utils/api') //点击事件中调用 btnClick(){ judgeVideoCanPlay() } 以下为util.js: //util.js let {judgePlay}=require('./api') function judgeVideoCanPlay(params,cb) { judgePlay(params).then(res=>{ //。。。 }).catch(err=>{ //。。。 }) } module.exports = { judgeVideoCanPlay } 结果:当在index.js中按照图一调用顺序,编辑器不报错,各个方法皆调用正常。但如果我调换调用顺序,如下: //index.js //列出主要代码 请注意这两行的调用顺序 const {bookCategoryList,bookList,userAgeUpdate,setUserInfo}=require('../../utils/api') const {judgeVideoCanPlay} =require('../../utils/util') 然后编辑器就报错了:judgePlay is not a function [图片] 不是很明白,为什么这样会导致报错,judgePlay 这个方法调用了api.js的方法,引用顺序不同会导致api中的judgePlay 方法没加载么
2022-05-20https://developers.weixin.qq.com/s/Ddcmjomr7zzl 如果在 [project.config.json](../../devtools/projectconfig.md) 中指定了 miniprogramRoot,则 `/*` 指代的根目录是 miniprogramRoot 对应的路径,而不是开发者工具项目的根目录
ts 项目设置别名报错ts 使用别名,会被编译成js引入,导致找不到文件,这个怎么解决?
2022-05-20一个 wx:for 里有相同的 wx:key
wx:for 循环中 key的值不一样还是会提示警告?[图片]
2022-05-20https://developers.weixin.qq.com/miniprogram/dev/reference/configuration/app.html#resolveAlias
app.绑定require,page里app.require引入失败?Windows 10 专业版20H2 ,微信开发者工具Stable1.05.2201240 , 调试库2.22.0 在App绑定require,Page里获取app,直接app.require引入报错 [图片][图片] 设置路径path变量为'.utils/util'时 会报错 Error:module "utils/util.js"is not defined [图片][图片] 将路径写死为'.utils/util'时 代码运行正常 [图片] //util.js module.exports = { testFunc(value) { return `testFunc${value}`; }, }; //app.js App({ onLaunch: function () {}, require(path) { return require(`${path}`); //return require("./utils/util"); }, }); //demo.js const { testFunc } = getApp().require("./utils/util"); Page({ onLoad() { const str = testFunc(1); console.log(str); this.setData({ str, }); }, });
2022-05-19请自查
HBuilder X运行到微信开发者工具后显示不一致是为什么?[图片][图片][图片][图片][图片][图片]
2022-05-19