最新提问
  • 全部
  • 文章
  • 问答

  • 为什么开发者工具this指向的是我的组件,但是在真机调试的时候this指向是global?

    [图片][图片] 感觉是因为指向问题导致我的代码在手机端报错,电脑上没有问题

  • uni打包后提示Failed to fetch?

    [图片]什么原因?

  • 编译的bug

    [图片] 我把这个代码删掉了,重新编译,还是一直报这个错误,只有重启才会好,能不能优化一下啊!!!!

  • win11启动不了开发者工具

    前面安装可以正常启动,后面卸载过一次,今天重新安装就启动不了了,重启过,卸载重装过,关闭杀毒软件和添加信任过(不过腾讯管家应该不会对自己人下手吧),按照官方帖子 https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=000a2a1229cdc8269f667d4435ec00&token=2020845980&lang=zh_CN&comment_lvl=3 试过一遍也不行

  • 开发者工具闪退启动不了?

    [图片]

  • 微信出网ip和提供的ip列表不一致?IP信誉不行?攻击资源?

    从5月开始接收不到微信的回调信息,期间也考虑过是否将微信的出网ip拉黑了,但是对比了微信提供的出网ip没找到封堵记录 昨天找到一个微信的ip不在微信提供的ip列表里,但翻看以往日志报文,确实是微信的IP,尝试解封后发现有部分请求可以收到了 然后又陆续找到几个,都不在微信提供的ip列表里,但翻看日志都是微信请求用过的ip 而且这些ip都是因为信誉不行,被标记为攻击资源被封的 有没有人可以帮忙解释一下

  • NPM构建失败,提示文件不合法?

    非常诡异呀,在我的windows主机下没有问题,换到笔记本出问题了 message:发生错误 SyntaxError: parse js file (/Users/locter/Projects/MiniApp/SmartHouseWeApp/node_modules/@npmcli/move-file/lib/index.js) failed: Unexpected token (106:14) appid: wxada906fdcb4b8b94 openid: o6zAJs7Qulzcdu7d4X8tFuzN3jc0 ideVersion: 1.06.2405020 osType: darwin-arm64 time: 2024-08-02 08:39:11 这是报错提示下的目录,我看也没有使用什么新语法 const { dirname, join, resolve, relative, isAbsolute } = require('path') const rimraf_ = require('rimraf') const { promisify } = require('util') const { access: access_, accessSync, copyFile: copyFile_, copyFileSync, readdir: readdir_, readdirSync, rename: rename_, renameSync, stat: stat_, statSync, lstat: lstat_, lstatSync, symlink: symlink_, symlinkSync, readlink: readlink_, readlinkSync, } = require('fs') const access = promisify(access_) const copyFile = promisify(copyFile_) const readdir = promisify(readdir_) const rename = promisify(rename_) const stat = promisify(stat_) const lstat = promisify(lstat_) const symlink = promisify(symlink_) const readlink = promisify(readlink_) const rimraf = promisify(rimraf_) const rimrafSync = rimraf_.sync const mkdirp = require('mkdirp') const pathExists = async path => { try { await access(path) return true } catch (er) { return er.code !== 'ENOENT' } } const pathExistsSync = path => { try { accessSync(path) return true } catch (er) { return er.code !== 'ENOENT' } } const moveFile = async (source, destination, options = {}, root = true, symlinks = []) => { if (!source || !destination) { throw new TypeError('`source` and `destination` file required') } options = { overwrite: true, ...options, } if (!options.overwrite && await pathExists(destination)) { throw new Error(`The destination file exists: ${destination}`) } await mkdirp(dirname(destination)) try { await rename(source, destination) } catch (error) { if (error.code === 'EXDEV' || error.code === 'EPERM') { const sourceStat = await lstat(source) if (sourceStat.isDirectory()) { const files = await readdir(source) await Promise.all(files.map((file) => moveFile(join(source, file), join(destination, file), options, false, symlinks) )) } else if (sourceStat.isSymbolicLink()) { symlinks.push({ source, destination }) } else { await copyFile(source, destination) } } else { throw error } } if (root) { await Promise.all(symlinks.map(async ({ source: symSource, destination: symDestination }) => { let target = await readlink(symSource) // junction symlinks in windows will be absolute paths, so we need to // make sure they point to the symlink destination if (isAbsolute(target)) { target = resolve(symDestination, relative(symSource, target)) } // try to determine what the actual file is so we can create the correct // type of symlink in windows let targetStat = 'file' try { targetStat = await stat(resolve(dirname(symSource), target)) if (targetStat.isDirectory()) { targetStat = 'junction' } } catch { // targetStat remains 'file' } await symlink( target, symDestination, targetStat ) })) await rimraf(source) } } const moveFileSync = (source, destination, options = {}, root = true, symlinks = []) => { if (!source || !destination) { throw new TypeError('`source` and `destination` file required') } options = { overwrite: true, ...options, } if (!options.overwrite && pathExistsSync(destination)) { throw new Error(`The destination file exists: ${destination}`) } mkdirp.sync(dirname(destination)) try { renameSync(source, destination) } catch (error) { if (error.code === 'EXDEV' || error.code === 'EPERM') { const sourceStat = lstatSync(source) if (sourceStat.isDirectory()) { const files = readdirSync(source) for (const file of files) { moveFileSync(join(source, file), join(destination, file), options, false, symlinks) } } else if (sourceStat.isSymbolicLink()) { symlinks.push({ source, destination }) } else { copyFileSync(source, destination) } } else { throw error } } if (root) { for (const { source: symSource, destination: symDestination } of symlinks) { let target = readlinkSync(symSource) // junction symlinks in windows will be absolute paths, so we need to // make sure they point to the symlink destination if (isAbsolute(target)) { target = resolve(symDestination, relative(symSource, target)) } // try to determine what the actual file is so we can create the correct // type of symlink in windows let targetStat = 'file' try { targetStat = statSync(resolve(dirname(symSource), target)) if (targetStat.isDirectory()) { targetStat = 'junction' } } catch { // targetStat remains 'file' } symlinkSync( target, symDestination, targetStat ) } rimrafSync(source) } } module.exports = moveFile module.exports.sync = moveFileSync

  • 每当重新启动开发工具并进入项目就提示“that is not the current page”?

    如下截图所示 [图片] 黄字提示我姑且认为是skyline还没研发完全的样子,但红字总会让我误以为是自己的项目出问题了,仔细一看又不像是我项目本身的问题; 并且这个问题在“重新创建空白项目”时也会有,并且只会出现在“重新启动开发工具并打开项目”时,在这之后的“编译”过程都没有出现同一个问题。

  • 微信服务号折叠?

    微信服务号折叠非常不好用,用信息都不知道希望能够改进一下或者撤销谢谢

  • 微信服务号折叠?

    微信服务号折叠非常不好用,用信息都不知道希望能够改进一下或者撤销谢谢

  • 开发工具总是崩溃,有什么好的解决方法吗?

    [图片]

  • 请问一下什么逻辑会造成微信开发工具崩掉,我经常遇到开发工具挂了?

    请求官方帮忙分析一下什么业务逻辑会造成微信开发工具挂掉 场景:目前我们小程序的分包比较多,内嵌了openfire相关的即时通信逻辑

  • 怎么设置开发工具自动编译?

    开发版工具、稳定版工具都试过,都不行,最新版。 操作系统:Windows 11 家庭版 操作系统版本:22621.3880

  • 移动应用微信登录开发指南,返回示例笔误了

    https://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_Login/Development_Guide.htmlhttps://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_Login/Development_Guide.html [图片]

  • 开发工具越更新越难用?超级难用

    每次改完js文件代码热更新直接卡死 白页面 必许重新进入 热更新的意义在哪 越改越难用

  • logs在哪里?

    稳定版 Stable Build (1.06.2405020)Windows 64

  • 开发者工具甄姬调试连接不上?

    [图片]

  • 微信支付的支付有礼可以发放京东指定某店铺的优惠券吗?

    rt

  • 编译报错:SyntaxError: Unexpected token 'export'?

    编译时报错。 错误1: VM477 WAGame.js:1 SyntaxError: Unexpected token 'export'(env: Windows,mg,1.05.2204264; lib: 3.2.5) errorReport @ VM477 WAGame.js:1 thirdErrorReport @ VM477 WAGame.js:1 (anonymous) @ VM477 WAGame.js:1 a @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 _privEmit @ VM490 WAGameSubContext.js:1 emit @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 o @ VM490 WAGameSubContext.js:1 Le @ VM490 WAGameSubContext.js:1 Re @ VM490 WAGameSubContext.js:1 te @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 error (async) (anonymous) @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 (anonymous) @ VM490 WAGameSubContext.js:1 错误2: VM490 WAGameSubContext.js:1 Unhandled promise rejection ReferenceError: BigInt is not defined at dotnet.runtime.8.0.0.gmldl7rybh.js:3 at VM490 WAGameSubContext.js:1 at Object.runWith (VM490 WAGameSubContext.js:1) at P (VM490 WAGameSubContext.js:1) at n (VM490 WAGameSubContext.js:1) at webgl.wasm.framework.unityweb.js:4 at q (VM490 WAGameSubContext.js:1) at VM490 WAGameSubContext.js:1 at C (VM490 WAGameSubContext.js:1)(env: Windows,mg,1.05.2204264; lib: 3.2.5) [图片][图片]

  • 应用审核一直没通过?四五次了

    应用名字:妙评 包名:com.magicalstory.community 应用官网:https://www.magicalapk.com/homepage 早就已按照要求补充授权书了!已经补充了,另外官网已经提供apk和APP详情展示了,一直不通过!! [图片]